(FRONT) FRONT (2025)

Return to full description Technique to create Button with own rectangle shape

   1:  <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
   2:      <item
   3:          android:bottom="4dp"
   4:          android:gravity="center">
   5:          <layer-list>
   6:              <item
   7:                  android:gravity="center">
   8:                  <shape android:shape="rectangle">
   9:                      <solid android:color="@color/black" />
  10:                      <size
  11:                          android:width="1dp"
  12:                          android:height="6dp" />
  13:                  </shape>
  14:              </item>
  15:              <item
  16:                  android:gravity="center">
  17:                  <shape android:shape="rectangle">
  18:                      <solid android:color="@color/black" />
  19:                      <size
  20:                          android:width="6dp"
  21:                          android:height="1dp" />
  22:                  </shape>
  23:              </item>
  24:          </layer-list>
  25:      </item>
  26:  </layer-list>

Return to full description




AndroidMosaic context:



Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23>  <24>  <25
Link to this page: http://www.vb-net.com/AndroidMosaic/Index15.htm
<TAGS>  <ARTICLES>  <FRONT>  <CORE>  <MVC>  <ASP>  <NET>  <DATA>  <TASK>  <XML>  <KIOSK>  <NOTES>  <SQL>  <LINUX>  <MONO>  <FREEWARE>  <DOCS> <TRAVELS> <FLOWERS> <RESUME> < THANKS ME>