aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorlaco0416 <laco0416@gmail.com>2014-05-31 13:22:43 +0900
committerlaco0416 <laco0416@gmail.com>2014-05-31 13:22:43 +0900
commita38fa1b70cedbdca83171428fb58a3cd10fc79b1 (patch)
tree7f8ef007c3eb9afc0c32dccfe88704294c0af58e /res
parent853df034d48e64b0a2a4fbc85760ff918abe901e (diff)
downloadSmileEssence-a38fa1b70cedbdca83171428fb58a3cd10fc79b1.tar.gz
Implement user list page
Diffstat (limited to 'res')
-rw-r--r--res/layout/fragment_userlist.xml80
-rw-r--r--res/values-ja/strings.xml3
-rw-r--r--res/values/strings.xml3
3 files changed, 86 insertions, 0 deletions
diff --git a/res/layout/fragment_userlist.xml b/res/layout/fragment_userlist.xml
new file mode 100644
index 00000000..89806229
--- /dev/null
+++ b/res/layout/fragment_userlist.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ ~ The MIT License (MIT)
+ ~
+ ~ Copyright (c) 2012-2014 lacolaco.net
+ ~
+ ~ Permission is hereby granted, free of charge, to any person obtaining a copy
+ ~ of this software and associated documentation files (the "Software"), to deal
+ ~ in the Software without restriction, including without limitation the rights
+ ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ ~ copies of the Software, and to permit persons to whom the Software is
+ ~ furnished to do so, subject to the following conditions:
+ ~
+ ~ The above copyright notice and this permission notice shall be included in all
+ ~ copies or substantial portions of the Software.
+ ~
+ ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ ~ SOFTWARE.
+ -->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <RelativeLayout
+ android:id="@+id/layout_search_config"
+ android:layout_width="match_parent"
+ android:layout_height="40dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginBottom="5dp"
+ android:layout_marginLeft="5dp"
+ android:layout_marginRight="5dp">
+
+ <ImageButton
+ android:id="@+id/button_userlist_lists"
+ android:layout_width="40dp"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ style="?attr/custom_button_transparent"
+ android:scaleType="centerCrop"
+ android:src="?attr/icon_labels"
+ android:layout_gravity="fill"
+ android:adjustViewBounds="false"/>
+
+ <TextView
+ android:id="@+id/textview_userlist_name"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@+id/button_userlist_lists"
+ android:gravity="center_vertical"
+ android:textAppearance="@android:style/TextAppearance.DeviceDefault"/>
+ </RelativeLayout>
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="?attr/color_list_divider"
+ android:paddingTop="2dp"
+ android:paddingBottom="2dp"/>
+
+ <com.handmark.pulltorefresh.library.PullToRefreshListView
+ xmlns:ptr="http://schemas.android.com/apk/res/net.lacolaco.smileessence"
+ android:id="@+id/listview_userlist"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ ptr:ptrMode="both"
+ ptr:ptrShowIndicator="false"
+ android:overScrollMode="never"
+ android:fastScrollEnabled="true"
+ android:dividerHeight="1px"
+ android:divider="?attr/color_list_divider"/>
+</LinearLayout> \ No newline at end of file
diff --git a/res/values-ja/strings.xml b/res/values-ja/strings.xml
index 085a4b7d..1659508f 100644
--- a/res/values-ja/strings.xml
+++ b/res/values-ja/strings.xml
@@ -218,4 +218,7 @@
<string name="activity_licenses">ライセンス</string>
<string name="notice_copy_clipboard">クリップボードにコピーしました</string>
<string name="dialog_title_talk_chain">会話ビュー</string>
+ <string name="page_name_list">リスト</string>
+ <string name="notice_userlist_not_selected">リストが選択されていません</string>
+ <string name="dialog_title_select_userlist">リストを選択</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 3777ded6..cda5f800 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -226,4 +226,7 @@
<string name="activity_licenses">Licenses</string>
<string name="notice_copy_clipboard">Copied to clipboard</string>
<string name="dialog_title_talk_chain">Talk View</string>
+ <string name="page_name_list">List</string>
+ <string name="notice_userlist_not_selected">No List is selected</string>
+ <string name="dialog_title_select_userlist">Select a list</string>
</resources>