I am using a library . In which I am showing the activity used by my library I am using a color to cover up the screen with color. it is looking cool.
But due to some reasons I have decided …
In my Android java code, how can I reference the color "colorPrimary" set in my theme?
I have the following theme definition:
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<item name="colorPrimary">@…
I'm trying to figure out how to define a vertical line (1dp thick) to be used as a drawable.
To make a horizontal one, it's pretty straightforward:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="…