KB-20071230-040

From Triled Wiki

Jump to: navigation, search

layout example (from original post):

<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout
   id="@+id/widget0"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   android:background="#ffffffff"
   android:padding="0px"
   xmlns:android="http://schemas.android.com/apk/res/android">

   <CheckBox
      id="@+id/widget24"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="CheckBox"
      android:textSize="14sp"
      android:typeface="normal"
      android:textStyle="normal"
      android:padding="0px"
      android:textColor="#ff000000"
      android:checked="false"
      android:layout_x="60px"
      android:layout_y="62px">

   </CheckBox>
</AbsoluteLayout>

Rendered layout shows text "eckBox", "C" letter is under checkbox. Padding attribute affects only text, not checkbox.

[edit] See also

Personal tools