Mercurial > repos > other > AceTorch
view res/layout/main.xml @ 0:4a66834572d1
First commit of "Ace Torch" project
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 29 Oct 2012 11:23:36 +0000 |
parents | |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical" android:orientation="vertical" > <ToggleButton android:id="@+id/toggleTorch" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|center_horizontal" android:onClick="onToggleClicked" android:text="@string/torch" /> </LinearLayout>