123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#FFEEEEEE" >
- <ScrollView
- android:id="@+id/main_home_scroller"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="@dimen/activity_margin" >
- <LinearLayout
- android:id="@+id/main_home"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <LinearLayout
- android:id="@+id/main_home_target_body"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/card_margin"
- android:background="@drawable/frame"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/main_home_target_heading"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/title_margin"
- android:gravity="center"
- android:text="App Properties"
- android:textSize="26sp"
- android:textStyle="bold" />
- <LinearLayout
- android:id="@+id/main_home_target_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/content_margin_bottom"
- android:layout_marginLeft="@dimen/content_margin_horizontal"
- android:layout_marginRight="@dimen/content_margin_horizontal"
- android:orientation="horizontal"
- android:weightSum="1.0" >
- <LinearLayout
- android:id="@+id/main_home_target_info"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight=".6"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/main_home_target_info_title_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="3dp"
- android:text="App Title:"
- android:textSize="18sp" />
- <TextView
- android:id="@+id/main_home_target_info_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="9dp"
- android:layout_marginRight="9dp"
- android:ellipsize="marquee"
- android:fadingEdge="horizontal"
- android:marqueeRepeatLimit="marquee_forever"
- android:padding="3dp"
- android:scrollHorizontally="true"
- android:singleLine="true"
- android:text="@string/default_target_title"
- android:textSize="15sp" />
- <View
- android:layout_width="fill_parent"
- android:layout_height="3dp" />
- <TextView
- android:id="@+id/main_home_target_info_location_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="3dp"
- android:text="App Target:"
- android:textSize="18sp" />
- <TextView
- android:id="@+id/main_home_target_info_location"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="9dp"
- android:layout_marginRight="9dp"
- android:ellipsize="marquee"
- android:fadingEdge="horizontal"
- android:marqueeRepeatLimit="marquee_forever"
- android:padding="3dp"
- android:scrollHorizontally="true"
- android:singleLine="true"
- android:text="@string/default_target_location"
- android:textSize="15sp" />
- </LinearLayout>
- <org.h4e.utils.iconimport.objects.IconCanvas
- android:id="@+id/main_home_target_icon"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginLeft="@dimen/activity_margin"
- android:layout_marginStart="@dimen/activity_margin"
- android:layout_weight=".4" />
- </LinearLayout>
- <View
- android:id="@+id/main_home_target_shadow"
- android:layout_width="match_parent"
- android:layout_height="3dp"
- android:background="@drawable/frame_shadow" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/main_home_shortcut_body"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/card_margin"
- android:background="@drawable/frame"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/main_home_shortcut_heading"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/title_margin"
- android:gravity="center"
- android:text="Shortcut Properties"
- android:textSize="26sp"
- android:textStyle="bold" />
- <LinearLayout
- android:id="@+id/main_home_shortcut_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/content_margin"
- android:layout_marginLeft="@dimen/content_margin"
- android:layout_marginRight="@dimen/content_margin"
- android:orientation="horizontal"
- android:weightSum="1.0" >
- <LinearLayout
- android:id="@+id/main_home_shortcut_info"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight=".6"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/main_home_shortcut_info_title_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="3dp"
- android:text="Shortcut Title:"
- android:textSize="18sp" />
- <EditText
- android:id="@+id/main_home_shortcut_info_title"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="9dp"
- android:layout_marginRight="9dp"
- android:enabled="false"
- android:padding="3dp"
- android:text="@string/default_shortcut_title"
- android:textSize="12sp" />
- <View
- android:layout_width="fill_parent"
- android:layout_height="3dp" />
- <TextView
- android:id="@+id/main_home_shortcut_info_location_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="3dp"
- android:text="Shortcut Icon:"
- android:textSize="18sp" />
- <!-- Browse - Copy - Clear -->
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/main_home_shortcut_info_button_1"
- style="?android:attr/buttonBarButtonStyle"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:onClick="showIconChooser"
- android:text="@string/default_shortcut_button_1"
- android:textSize="14sp" />
- <Button
- android:id="@+id/main_home_shortcut_info_button_2"
- style="?android:attr/buttonBarButtonStyle"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:onClick="clearShortcutIcon"
- android:text="@string/default_shortcut_button_2"
- android:textSize="14sp" />
- </LinearLayout>
- </LinearLayout>
- <org.h4e.utils.iconimport.objects.IconCanvas
- android:id="@+id/main_home_shortcut_icon"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginLeft="@dimen/activity_margin"
- android:layout_weight=".4" />
- </LinearLayout>
- <View
- android:id="@+id/main_home_shortcut_shadow"
- android:layout_width="match_parent"
- android:layout_height="3dp"
- android:background="@drawable/frame_shadow" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/main_home_3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/frame"
- android:orientation="vertical"
- android:visibility="gone" >
- <Button
- android:id="@+id/main_home_3_title"
- style="?android:attr/buttonBarButtonStyle"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/activity_margin"
- android:gravity="center"
- android:onClick="createShortcut"
- android:text="Create Shortcut"
- android:textSize="26sp"
- android:textStyle="bold" />
- <View
- android:id="@+id/main_home_3_shadow"
- android:layout_width="match_parent"
- android:layout_height="3dp"
- android:background="@drawable/frame_shadow" />
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- <TextView
- android:id="@+id/main_home_intro"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_above="@id/main_home_adview"
- android:layout_margin="@dimen/activity_margin"
- android:background="@drawable/frame"
- android:clickable="true"
- android:gravity="center"
- android:onClick="showAppChooser"
- android:text="Select App!"
- android:textSize="36sp"
- android:textStyle="bold" />
- </RelativeLayout>
|