Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>yes! you said it right Styles and themes are the way to do it. her is how google has styled the stock textView. <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/styles.xml;h=d7b654e49809cb97a35682754b1394af5c8bc88b;hb=HEAD" rel="nofollow noreferrer">styles.xml</a> , <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/themes.xml;h=6b3d7407d1c895a3c297e60d5beac98e2d34c271;hb=HEAD" rel="nofollow noreferrer">themes.xml</a></p> <p>you can override them by creating you styles.xml in your project and apply them in the layout xml. <a href="http://developer.android.com/guide/topics/ui/themes.html" rel="nofollow noreferrer">LINK</a></p> <p><strong>EDIT</strong> There is something called shapes in android. <a href="http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape" rel="nofollow noreferrer">LINK</a></p> <p>here is an example. <a href="https://stackoverflow.com/questions/1276346/help-in-using-shape-drawable-as-my-background-xml/1280337#1280337">LINK</a></p> <p>you can make an xml for all states like <strong>pressed</strong>, <strong>normal</strong> ... and assign as background. this can be done using <strong>selector</strong>. <a href="http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList" rel="nofollow noreferrer">LINK</a></p> <p>or you can even use different <strong>images</strong> as <strong>background</strong> and using <strong>selector</strong> you can give the user a little intuitiveness.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload