diff options
author | Goblin911 <[email protected]> | 2013-08-26 09:15:50 +0800 |
---|---|---|
committer | Goblin911 <[email protected]> | 2013-08-26 09:15:50 +0800 |
commit | 6400b18210587cb25b475bc2d3979b9a6da5eda4 (patch) | |
tree | 251a4fb351c9488bf1e86db456c5b19f1e11e9b4 /client/Piztor/res | |
parent | a5461ad67c54c6b7ec7b3f0d91e626b0043aec1b (diff) |
init
Diffstat (limited to 'client/Piztor/res')
50 files changed, 785 insertions, 0 deletions
diff --git a/client/Piztor/res/drawable-hdpi/ic_launcher.png b/client/Piztor/res/drawable-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..ddc6c13 --- /dev/null +++ b/client/Piztor/res/drawable-hdpi/ic_launcher.png diff --git a/client/Piztor/res/drawable-mdpi/ic_launcher.png b/client/Piztor/res/drawable-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..7b6698a --- /dev/null +++ b/client/Piztor/res/drawable-mdpi/ic_launcher.png diff --git a/client/Piztor/res/drawable-xhdpi/ic_launcher.png b/client/Piztor/res/drawable-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..20ea43a --- /dev/null +++ b/client/Piztor/res/drawable-xhdpi/ic_launcher.png diff --git a/client/Piztor/res/drawable-xxhdpi/ic_launcher.png b/client/Piztor/res/drawable-xxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..e1ca5c2 --- /dev/null +++ b/client/Piztor/res/drawable-xxhdpi/ic_launcher.png diff --git a/client/Piztor/res/drawable/bottom_img.png b/client/Piztor/res/drawable/bottom_img.png Binary files differnew file mode 100644 index 0000000..2725ea8 --- /dev/null +++ b/client/Piztor/res/drawable/bottom_img.png diff --git a/client/Piztor/res/drawable/footbar_background.png b/client/Piztor/res/drawable/footbar_background.png Binary files differnew file mode 100644 index 0000000..488e8f2 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_background.png diff --git a/client/Piztor/res/drawable/footbar_btn_checkin_style.xml b/client/Piztor/res/drawable/footbar_btn_checkin_style.xml new file mode 100644 index 0000000..6dbeb21 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_btn_checkin_style.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:state_pressed="true" android:drawable="@drawable/footbar_checkin_1"></item> + <item android:state_pressed="false" android:drawable="@drawable/footbar_checkin"></item> + +</selector> diff --git a/client/Piztor/res/drawable/footbar_btn_fetch_style.xml b/client/Piztor/res/drawable/footbar_btn_fetch_style.xml new file mode 100644 index 0000000..379d526 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_btn_fetch_style.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:state_pressed="true" android:drawable="@drawable/footbar_fetch_1"></item> + <item android:state_pressed="false" android:drawable="@drawable/footbar_fetch"></item> +</selector> diff --git a/client/Piztor/res/drawable/footbar_btn_focus_style.xml b/client/Piztor/res/drawable/footbar_btn_focus_style.xml new file mode 100644 index 0000000..5932f2f --- /dev/null +++ b/client/Piztor/res/drawable/footbar_btn_focus_style.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:state_pressed="true" android:drawable="@drawable/footbar_marker_1"></item> + <item android:state_pressed="false" android:drawable="@drawable/footbar_marker"></item> +</selector> diff --git a/client/Piztor/res/drawable/footbar_btn_search_style.xml b/client/Piztor/res/drawable/footbar_btn_search_style.xml new file mode 100644 index 0000000..ac786ef --- /dev/null +++ b/client/Piztor/res/drawable/footbar_btn_search_style.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:state_pressed="true" android:drawable="@drawable/footbar_search_1"></item> + <item android:state_pressed="false" android:drawable="@drawable/footbar_search"></item> +</selector> diff --git a/client/Piztor/res/drawable/footbar_btn_settings_style.xml b/client/Piztor/res/drawable/footbar_btn_settings_style.xml new file mode 100644 index 0000000..fca6230 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_btn_settings_style.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:state_pressed="true" android:drawable="@drawable/footbar_settings_1"></item> + <item android:state_pressed="false" android:drawable="@drawable/footbar_settings"></item> +</selector> diff --git a/client/Piztor/res/drawable/footbar_checkin.png b/client/Piztor/res/drawable/footbar_checkin.png Binary files differnew file mode 100644 index 0000000..90afba7 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_checkin.png diff --git a/client/Piztor/res/drawable/footbar_checkin_1.png b/client/Piztor/res/drawable/footbar_checkin_1.png Binary files differnew file mode 100644 index 0000000..a478d36 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_checkin_1.png diff --git a/client/Piztor/res/drawable/footbar_fetch.png b/client/Piztor/res/drawable/footbar_fetch.png Binary files differnew file mode 100644 index 0000000..32d24d2 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_fetch.png diff --git a/client/Piztor/res/drawable/footbar_fetch_1.png b/client/Piztor/res/drawable/footbar_fetch_1.png Binary files differnew file mode 100644 index 0000000..208094f --- /dev/null +++ b/client/Piztor/res/drawable/footbar_fetch_1.png diff --git a/client/Piztor/res/drawable/footbar_marker.png b/client/Piztor/res/drawable/footbar_marker.png Binary files differnew file mode 100644 index 0000000..3de909f --- /dev/null +++ b/client/Piztor/res/drawable/footbar_marker.png diff --git a/client/Piztor/res/drawable/footbar_marker_1.png b/client/Piztor/res/drawable/footbar_marker_1.png Binary files differnew file mode 100644 index 0000000..08c8715 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_marker_1.png diff --git a/client/Piztor/res/drawable/footbar_search.png b/client/Piztor/res/drawable/footbar_search.png Binary files differnew file mode 100644 index 0000000..3549f84 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_search.png diff --git a/client/Piztor/res/drawable/footbar_search_1.png b/client/Piztor/res/drawable/footbar_search_1.png Binary files differnew file mode 100644 index 0000000..1e6ac28 --- /dev/null +++ b/client/Piztor/res/drawable/footbar_search_1.png diff --git a/client/Piztor/res/drawable/footbar_select_bg.png b/client/Piztor/res/drawable/footbar_select_bg.png Binary files differnew file mode 100644 index 0000000..9d7e5af --- /dev/null +++ b/client/Piztor/res/drawable/footbar_select_bg.png diff --git a/client/Piztor/res/drawable/footbar_settings.png b/client/Piztor/res/drawable/footbar_settings.png Binary files differnew file mode 100644 index 0000000..455bd0b --- /dev/null +++ b/client/Piztor/res/drawable/footbar_settings.png diff --git a/client/Piztor/res/drawable/footbar_settings_1.png b/client/Piztor/res/drawable/footbar_settings_1.png Binary files differnew file mode 100644 index 0000000..6b0a2ab --- /dev/null +++ b/client/Piztor/res/drawable/footbar_settings_1.png diff --git a/client/Piztor/res/drawable/footbar_unselect_bg.png b/client/Piztor/res/drawable/footbar_unselect_bg.png Binary files differnew file mode 100644 index 0000000..3e1e65e --- /dev/null +++ b/client/Piztor/res/drawable/footbar_unselect_bg.png diff --git a/client/Piztor/res/drawable/horizontal_line.png b/client/Piztor/res/drawable/horizontal_line.png Binary files differnew file mode 100644 index 0000000..ccd6aa2 --- /dev/null +++ b/client/Piztor/res/drawable/horizontal_line.png diff --git a/client/Piztor/res/drawable/navigation_back.png b/client/Piztor/res/drawable/navigation_back.png Binary files differnew file mode 100644 index 0000000..3bdda98 --- /dev/null +++ b/client/Piztor/res/drawable/navigation_back.png diff --git a/client/Piztor/res/drawable/navigation_back_1.png b/client/Piztor/res/drawable/navigation_back_1.png Binary files differnew file mode 100644 index 0000000..a20b4ef --- /dev/null +++ b/client/Piztor/res/drawable/navigation_back_1.png diff --git a/client/Piztor/res/drawable/title_logo.png b/client/Piztor/res/drawable/title_logo.png Binary files differnew file mode 100644 index 0000000..224040c --- /dev/null +++ b/client/Piztor/res/drawable/title_logo.png diff --git a/client/Piztor/res/drawable/topbar_background.png b/client/Piztor/res/drawable/topbar_background.png Binary files differnew file mode 100644 index 0000000..9f0291e --- /dev/null +++ b/client/Piztor/res/drawable/topbar_background.png diff --git a/client/Piztor/res/layout/activity_gather.xml b/client/Piztor/res/layout/activity_gather.xml new file mode 100644 index 0000000..f887cf0 --- /dev/null +++ b/client/Piztor/res/layout/activity_gather.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@android:color/white" + android:orientation="vertical"> + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:id="@+id/gather_timer_layout" + > + <include layout="@layout/gather_timer"/> + </RelativeLayout> + <LinearLayout + android:id="@+id/gather_footbar_layout" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + > + <include layout="@layout/gather_footbar"></include> + </LinearLayout> +</RelativeLayout> diff --git a/client/Piztor/res/layout/activity_init.xml b/client/Piztor/res/layout/activity_init.xml new file mode 100644 index 0000000..43e6253 --- /dev/null +++ b/client/Piztor/res/layout/activity_init.xml @@ -0,0 +1,16 @@ +<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:paddingBottom="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + tools:context=".InitAct" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/hello_world" /> + +</RelativeLayout> diff --git a/client/Piztor/res/layout/activity_login.xml b/client/Piztor/res/layout/activity_login.xml new file mode 100644 index 0000000..cd2d34c --- /dev/null +++ b/client/Piztor/res/layout/activity_login.xml @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="fill_parent" + android:background="@android:color/black" + android:orientation="vertical"> + +<LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@android:color/black" + android:gravity="center_horizontal" + android:orientation="vertical" > + + <ImageView + android:id="@+id/main_headbar_img" + android:layout_width="180dp" + android:layout_height="240dp" + android:layout_gravity="center_horizontal" + android:src="@drawable/title_logo" /> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_gravity="center"> + + <TableLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TableRow + android:layout_marginBottom="15dp" + android:layout_marginTop="15dp"> + <TextView + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="0.25" + android:gravity="right" + android:id="@+id/user_id_text" + android:text="User ID" + android:textColor="@android:color/white" + /> + + <EditText + android:layout_width="0dp" + android:layout_weight="0.75" + android:id="@+id/user_id" + android:textColor="@android:color/black" + android:singleLine="true"/> + <requestFocus/> + </TableRow> + + <TableRow> + <TextView + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="0.25" + android:gravity="right" + android:id="@+id/user_pass_text" + android:text="Password" + android:textColor="@android:color/black" + /> + + <EditText + android:layout_width="0dp" + android:layout_weight="0.75" + android:id="@+id/user_pass" + android:password="true" + android:textColor="@android:color/black" + android:singleLine="true"/> + </TableRow> + </TableLayout> + </LinearLayout> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:orientation="vertical" + > + <Button + android:id="@+id/login_btn_login" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center" + android:text="Login" + android:textColor="@android:color/white" /> + </LinearLayout> + +</LinearLayout> +</RelativeLayout> diff --git a/client/Piztor/res/layout/activity_main.xml b/client/Piztor/res/layout/activity_main.xml new file mode 100644 index 0000000..b2b61ac --- /dev/null +++ b/client/Piztor/res/layout/activity_main.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@android:color/white" + android:orientation="vertical"> + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:id="@+id/main_headbar_layout" + > + <include layout="@layout/main_headbar"/> + </RelativeLayout> + <LinearLayout + android:id="@+id/main_footbar_layout" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + > + <include layout="@layout/main_footbar"/> + </LinearLayout> +</RelativeLayout> diff --git a/client/Piztor/res/layout/activity_settings.xml b/client/Piztor/res/layout/activity_settings.xml new file mode 100644 index 0000000..8ce051f --- /dev/null +++ b/client/Piztor/res/layout/activity_settings.xml @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:background="@drawable/topbar_background" + android:orientation="horizontal" > + + <RelativeLayout + android:id="@+id/settings_headbar_layout" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" > + + <include layout="@layout/settings_headbar" /> + </RelativeLayout> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="match_parent" + android:layout_marginTop="48dip" + android:orientation="vertical" > + + <TextView + android:id="@+id/settings_GPSrefreshrate_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="GPS refresh rate" + android:layout_gravity="center" + android:layout_marginTop="10dip" + android:textSize="20dip" + android:textColor="@android:color/white" /> + + <SeekBar + android:id="@+id/settings_GPSrefreshrate" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + + <!-- LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + --> + <!-- TextView + android:id="@+id/GPS_min_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_marginLeft="10dip" + android:text="1s" + android:textSize="10dip" + android:textColor="@android:color/white"/--> + + <!--TextView + android:id="@+id/GPS_max_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:text="30s" + android:textColor="@android:color/white" + android:textSize="10dip" /--> + + <!-- /LinearLayout --> <!-- end of gps text --> + + <ImageView + android:id="@+id/settings_seperator1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/horizontal_line" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/settings_sex_layout" + android:layout_marginTop="10dip"> + + <TextView + android:id="@+id/settings_sex_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dip" + android:textSize="20dip" + android:textColor="@android:color/white" + android:text="@string/show_sex" /> + + <CheckBox + android:id="@+id/settings_show_male" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/male" + android:textColor="@android:color/white"/> + + + <CheckBox + android:id="@+id/settings_show_female" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/female" + android:textColor="@android:color/white"/> + + </LinearLayout> + + <ImageView + android:id="@+id/settings_seperator2" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/horizontal_line" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/settings_team_layout" + android:layout_marginTop="10dip"> + + <TextView + android:id="@+id/settings_team_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dip" + android:textSize="20dip" + android:textColor="@android:color/white" + android:text="@string/show_team" /> + + <RadioButton + android:id="@+id/settings_team_mine" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/mine" + android:textSize="20dip" + android:textColor="@android:color/white"/> + + <RadioButton + android:id="@+id/settings_team_all" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/all" + android:textSize="20dip" + android:textColor="@android:color/white"/> + + </LinearLayout> + + <ImageView + android:id="@+id/settings_seperator3" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/horizontal_line" /> + + </LinearLayout> + </RelativeLayout> diff --git a/client/Piztor/res/layout/gather_footbar.xml b/client/Piztor/res/layout/gather_footbar.xml new file mode 100644 index 0000000..e573032 --- /dev/null +++ b/client/Piztor/res/layout/gather_footbar.xml @@ -0,0 +1,133 @@ +<?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="48dip" + android:orientation="horizontal" + android:background="@drawable/footbar_background" > + + <LinearLayout + android:id="@+id/footbar_btn_search_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_search" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_search_style"/> + <TextView + android:id="@+id/footbar_btn_search_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/search"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_fetch_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_fetch" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_fetch_style"/> + <TextView + android:id="@+id/footbar_btn_fetch_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/fetch"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_checkin_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:layout_weight="1" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:orientation="vertical"> + <ImageButton + android:id="@+id/footbar_btn_checkin" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_checkin_style" + /> + <TextView + android:id="@+id/footbar_btn_checkin_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/checkin"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_focus_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_focus" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_focus_style"/> + <TextView + android:id="@+id/footbar_btn_focus_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/focus"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_settings_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_settings" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_settings_style"/> + <TextView + android:id="@+id/footbar_btn_settings" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:textSize="10dip" + android:textColor="@android:color/white" + android:text="@string/settings"/> + </LinearLayout> + +</LinearLayout> diff --git a/client/Piztor/res/layout/gather_timer.xml b/client/Piztor/res/layout/gather_timer.xml new file mode 100644 index 0000000..3849f6b --- /dev/null +++ b/client/Piztor/res/layout/gather_timer.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="48dip" + android:background="@android:color/black" + android:id="@+id/gather_timer_layout" > + + <TextView + android:id="@+id/gather_timer" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:textSize="40dip" + android:textColor="@android:color/white"> + </TextView> +</RelativeLayout> diff --git a/client/Piztor/res/layout/login_bottom.xml b/client/Piztor/res/layout/login_bottom.xml new file mode 100644 index 0000000..e268c39 --- /dev/null +++ b/client/Piztor/res/layout/login_bottom.xml @@ -0,0 +1,13 @@ +<?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="200dip" + android:orientation="horizontal" + android:background="@drawable/footbar_background" > + + <ImageView + android:layout_width="fill_parent" + android:layout_height="120dip" + android:src="@drawable/bottom_img"/> + +</LinearLayout> diff --git a/client/Piztor/res/layout/main_footbar.xml b/client/Piztor/res/layout/main_footbar.xml new file mode 100644 index 0000000..69760c0 --- /dev/null +++ b/client/Piztor/res/layout/main_footbar.xml @@ -0,0 +1,107 @@ +<?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="48dip" + android:orientation="horizontal" + android:background="@drawable/footbar_background" > + + <LinearLayout + android:id="@+id/footbar_btn_search_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_search" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_search_style"/> + <TextView + android:id="@+id/footbar_btn_search" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/search"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_fetch_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_fetch" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_fetch_style"/> + <TextView + android:id="@+id/footbar_btn_fetch_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/fetch"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_focus_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_focus" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_focus_style"/> + <TextView + android:id="@+id/footbar_btn_focus_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:textSize="10dip" + android:textColor="@android:color/white" + android:layout_gravity="center" + android:text="@string/focus"/> + </LinearLayout> + + <LinearLayout + android:id="@+id/footbar_btn_settings_layout" + android:layout_width="64dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_marginTop="3dip" + android:layout_gravity="center_vertical" + android:layout_weight="1"> + <ImageButton + android:id="@+id/footbar_btn_settings" + android:layout_width="30dip" + android:layout_height="30dip" + android:layout_gravity="center" + android:background="@drawable/footbar_btn_settings_style"/> + <TextView + android:id="@+id/footbar_btn_settings_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:textSize="10dip" + android:textColor="@android:color/white" + android:text="@string/settings"/> + </LinearLayout> + +</LinearLayout> diff --git a/client/Piztor/res/layout/main_headbar.xml b/client/Piztor/res/layout/main_headbar.xml new file mode 100644 index 0000000..137e3a1 --- /dev/null +++ b/client/Piztor/res/layout/main_headbar.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="40dip" + android:background="@drawable/topbar_background" + android:id="@+id/main_headbar_layout" > + + <ImageView + android:id="@+id/headbar_logo" + android:layout_width="34dip" + android:layout_height="34dip" + android:layout_alignParentLeft="true" + android:layout_centerVertical="true" + android:layout_marginLeft="5dip" + android:layout_alignParentTop="true" + android:background="@drawable/title_logo"/> + + <TextView + android:id="@+id/headbar_appname" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_marginLeft="8dip" + android:textSize="26dip" + android:textColor="@android:color/white" + android:layout_toRightOf="@+id/headbar_logo" + android:text="@string/app_name" /> + +</RelativeLayout> diff --git a/client/Piztor/res/layout/settings_headbar.xml b/client/Piztor/res/layout/settings_headbar.xml new file mode 100644 index 0000000..9065bdb --- /dev/null +++ b/client/Piztor/res/layout/settings_headbar.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="48dip" + android:background="@drawable/topbar_background" + android:id="@+id/settings_headbar_layout" > + + <ImageButton + android:id="@+id/settings_btn_back" + android:layout_width="40dip" + android:layout_height="40dip" + android:layout_marginLeft="5dip" + android:layout_alignParentLeft="true" + android:layout_centerVertical="true" + android:background="@drawable/navigation_back"/> + + <TextView + android:id="@+id/settings_headbar_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="30dip" + android:textColor="@android:color/white" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:layout_marginRight="40dip" + android:text="@string/settings"/> + + +</RelativeLayout> diff --git a/client/Piztor/res/menu/init.xml b/client/Piztor/res/menu/init.xml new file mode 100644 index 0000000..c002028 --- /dev/null +++ b/client/Piztor/res/menu/init.xml @@ -0,0 +1,9 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/action_settings" + android:orderInCategory="100" + android:showAsAction="never" + android:title="@string/action_settings"/> + +</menu> diff --git a/client/Piztor/res/menu/login.xml b/client/Piztor/res/menu/login.xml new file mode 100644 index 0000000..c002028 --- /dev/null +++ b/client/Piztor/res/menu/login.xml @@ -0,0 +1,9 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/action_settings" + android:orderInCategory="100" + android:showAsAction="never" + android:title="@string/action_settings"/> + +</menu> diff --git a/client/Piztor/res/menu/main.xml b/client/Piztor/res/menu/main.xml new file mode 100644 index 0000000..c002028 --- /dev/null +++ b/client/Piztor/res/menu/main.xml @@ -0,0 +1,9 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/action_settings" + android:orderInCategory="100" + android:showAsAction="never" + android:title="@string/action_settings"/> + +</menu> diff --git a/client/Piztor/res/menu/setting.xml b/client/Piztor/res/menu/setting.xml new file mode 100644 index 0000000..c002028 --- /dev/null +++ b/client/Piztor/res/menu/setting.xml @@ -0,0 +1,9 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + + <item + android:id="@+id/action_settings" + android:orderInCategory="100" + android:showAsAction="never" + android:title="@string/action_settings"/> + +</menu> diff --git a/client/Piztor/res/values-sw600dp/dimens.xml b/client/Piztor/res/values-sw600dp/dimens.xml new file mode 100644 index 0000000..44f01db --- /dev/null +++ b/client/Piztor/res/values-sw600dp/dimens.xml @@ -0,0 +1,8 @@ +<resources> + + <!-- + Customize dimensions originally defined in res/values/dimens.xml (such as + screen margins) for sw600dp devices (e.g. 7" tablets) here. + --> + +</resources> diff --git a/client/Piztor/res/values-sw720dp-land/dimens.xml b/client/Piztor/res/values-sw720dp-land/dimens.xml new file mode 100644 index 0000000..61e3fa8 --- /dev/null +++ b/client/Piztor/res/values-sw720dp-land/dimens.xml @@ -0,0 +1,9 @@ +<resources> + + <!-- + Customize dimensions originally defined in res/values/dimens.xml (such as + screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. + --> + <dimen name="activity_horizontal_margin">128dp</dimen> + +</resources> diff --git a/client/Piztor/res/values-v11/styles.xml b/client/Piztor/res/values-v11/styles.xml new file mode 100644 index 0000000..3c02242 --- /dev/null +++ b/client/Piztor/res/values-v11/styles.xml @@ -0,0 +1,11 @@ +<resources> + + <!-- + Base application theme for API 11+. This theme completely replaces + AppBaseTheme from res/values/styles.xml on API 11+ devices. + --> + <style name="AppBaseTheme" parent="android:Theme.Holo.Light"> + <!-- API 11 theme customizations can go here. --> + </style> + +</resources> diff --git a/client/Piztor/res/values-v14/styles.xml b/client/Piztor/res/values-v14/styles.xml new file mode 100644 index 0000000..a91fd03 --- /dev/null +++ b/client/Piztor/res/values-v14/styles.xml @@ -0,0 +1,12 @@ +<resources> + + <!-- + Base application theme for API 14+. This theme completely replaces + AppBaseTheme from BOTH res/values/styles.xml and + res/values-v11/styles.xml on API 14+ devices. + --> + <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar"> + <!-- API 14 theme customizations can go here. --> + </style> + +</resources> diff --git a/client/Piztor/res/values/dimens.xml b/client/Piztor/res/values/dimens.xml new file mode 100644 index 0000000..55c1e59 --- /dev/null +++ b/client/Piztor/res/values/dimens.xml @@ -0,0 +1,7 @@ +<resources> + + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + <dimen name="activity_vertical_margin">16dp</dimen> + +</resources> diff --git a/client/Piztor/res/values/strings.xml b/client/Piztor/res/values/strings.xml new file mode 100644 index 0000000..5a5ccc4 --- /dev/null +++ b/client/Piztor/res/values/strings.xml @@ -0,0 +1,21 @@ +<resources> + + <string name="app_name">piztor</string> + <string name="action_settings">Settings</string> + <string name="hello_world">Hello world!</string> + <string name="settings">Settings</string> + <string name="search">Search</string> + <string name="fetch">Fetch</string> + <string name="checkin">Checkin</string> + <string name="focus">Focus</string> + <string name="show_sex">Show sex: </string> + <string name="male">Male</string> + <string name="female">Female</string> + <string name="show_team">Show team: </string> + <string name="all">All</string> + <string name="mine">Mine</string> + <string name="title_activity_login">Login</string> + <string name="title_activity_main">Main</string> + <string name="title_activity_setting">Setting</string> + +</resources> diff --git a/client/Piztor/res/values/styles.xml b/client/Piztor/res/values/styles.xml new file mode 100644 index 0000000..6ce89c7 --- /dev/null +++ b/client/Piztor/res/values/styles.xml @@ -0,0 +1,20 @@ +<resources> + + <!-- + Base application theme, dependent on API level. This theme is replaced + by AppBaseTheme from res/values-vXX/styles.xml on newer devices. + --> + <style name="AppBaseTheme" parent="android:Theme.Light"> + <!-- + Theme customizations available in newer API levels can go in + res/values-vXX/styles.xml, while customizations related to + backward-compatibility can go here. + --> + </style> + + <!-- Application theme. --> + <style name="AppTheme" parent="AppBaseTheme"> + <!-- All customizations that are NOT specific to a particular API-level can go here. --> + </style> + +</resources> |