-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
KenChoi
authored and
KenChoi
committed
Dec 16, 2016
1 parent
c11fc20
commit 7e743ed
Showing
33 changed files
with
846 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<item android:state_pressed="true"><shape> | ||
<item android:state_pressed="true"> | ||
<shape> | ||
<corners android:radius="5dp" /> | ||
|
||
<solid android:color="@color/login_btn_def_color" /> | ||
</shape></item> | ||
<item><shape> | ||
<solid android:color="@color/accept_btn_pressed" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape> | ||
<corners android:radius="5dp" /> | ||
|
||
<solid android:color="@color/jmui_jpush_blue" /> | ||
</shape></item> | ||
<solid android:color="@color/accept_btn_default" /> | ||
</shape> | ||
</item> | ||
|
||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<item android:state_pressed="true"> | ||
<shape> | ||
<corners android:radius="5dp" /> | ||
|
||
<solid android:color="@color/refuse_btn_pressed" /> | ||
</shape> | ||
</item> | ||
<item> | ||
<shape> | ||
<corners android:radius="5dp" /> | ||
|
||
<solid android:color="@color/refuse_btn_default" /> | ||
</shape> | ||
</item> | ||
|
||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:gravity="center" | ||
android:paddingTop="10dp" | ||
android:background="@drawable/jmui_dialog_default_style"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/send_refuse_reason_title" | ||
android:textSize="@dimen/text_medium_size" | ||
android:textColor="@color/green"/> | ||
|
||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:layout_margin="10dp" | ||
android:background="@color/jmui_chat_detail_split_line_color" /> | ||
|
||
<EditText | ||
android:id="@+id/reason_et" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="10dp" | ||
android:textCursorDrawable="@drawable/jmui_text_cursor_bg" | ||
android:textSize="20sp" | ||
android:maxLines="4" | ||
android:padding="5dp" | ||
android:textColor="@color/black"/> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="10dp" | ||
android:orientation="horizontal"> | ||
|
||
<Button | ||
android:id="@+id/cancel_btn" | ||
android:layout_height="50dp" | ||
android:layout_width="0dip" | ||
android:layout_weight="1" | ||
android:text="@string/jmui_cancel" | ||
android:textColor="#808080" | ||
android:background="@drawable/jmui_dialog_bottom_left_btn" | ||
/> | ||
|
||
<Button | ||
android:id="@+id/send_btn" | ||
android:layout_height="50dp" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:text="@string/jmui_send" | ||
android:textColor="#808080" | ||
android:background="@drawable/jmui_dialog_bottom_right_btn" | ||
/> | ||
</LinearLayout> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,92 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="horizontal" | ||
android:id="@+id/friend_verify_item_ll" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:background="#ffffff" | ||
android:padding="10dp"> | ||
android:background="@drawable/jmui_list_item_bg"> | ||
|
||
<io.jchat.android.chatting.CircleImageView | ||
android:layout_width="50dp" | ||
android:layout_height="50dp" | ||
android:id="@+id/item_head_icon" | ||
android:src="@drawable/jmui_head_icon"/> | ||
|
||
<RelativeLayout | ||
android:layout_width="0dp" | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:layout_marginTop="2dp" | ||
android:paddingLeft="10dp" | ||
android:paddingRight="10dp"> | ||
android:orientation="horizontal" | ||
android:gravity="center" | ||
android:padding="10dp"> | ||
|
||
<io.jchat.android.chatting.CircleImageView | ||
android:layout_width="50dp" | ||
android:layout_height="50dp" | ||
android:id="@+id/item_head_icon" | ||
android:src="@drawable/jmui_head_icon"/> | ||
|
||
<LinearLayout | ||
android:id="@+id/title_layout" | ||
android:layout_width="match_parent" | ||
<RelativeLayout | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentTop="true" | ||
android:orientation="horizontal"> | ||
android:layout_weight="1" | ||
android:layout_marginTop="2dp" | ||
android:paddingLeft="10dp" | ||
android:paddingRight="10dp"> | ||
|
||
<LinearLayout | ||
android:id="@+id/title_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentTop="true" | ||
android:orientation="horizontal"> | ||
|
||
<TextView | ||
android:id="@+id/item_name" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:layout_height="wrap_content" | ||
android:maxLines="1" | ||
android:textColor="#000000" | ||
android:textSize="@dimen/text_medium_size" /> | ||
|
||
</LinearLayout> | ||
|
||
<TextView | ||
android:id="@+id/item_name" | ||
android:layout_width="0dp" | ||
android:layout_weight="1" | ||
android:id="@+id/item_reason" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@+id/title_layout" | ||
android:ems="10" | ||
android:maxLines="1" | ||
android:textColor="#000000" | ||
android:textSize="@dimen/text_medium_size" /> | ||
android:textSize="16sp" | ||
android:textColor="#808080" /> | ||
</RelativeLayout> | ||
|
||
</LinearLayout> | ||
<Button | ||
android:id="@+id/item_add_btn" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/accept" | ||
android:padding="10dp" | ||
android:textColor="@color/white" | ||
android:layout_marginRight="10dp" | ||
android:background="@drawable/accept_btn_bg"/> | ||
|
||
<Button | ||
android:id="@+id/item_refuse_btn" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/refuse" | ||
android:textColor="@color/white" | ||
android:padding="10dp" | ||
android:background="@drawable/refuse_btn_bg"/> | ||
|
||
<TextView | ||
android:id="@+id/item_reason" | ||
android:layout_width="match_parent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@+id/title_layout" | ||
android:ems="10" | ||
android:maxLines="1" | ||
android:textSize="16sp" | ||
android:textColor="#808080" /> | ||
</RelativeLayout> | ||
android:id="@+id/item_state" | ||
android:textSize="18sp" | ||
android:visibility="gone"/> | ||
|
||
<ImageButton | ||
android:layout_width="30dp" | ||
android:layout_height="30dp" | ||
android:id="@+id/item_add_btn" | ||
android:background="@drawable/add_btn_bg"/> | ||
</LinearLayout> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/item_state" | ||
android:textSize="18sp" | ||
android:visibility="gone"/> | ||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1dp" | ||
android:background="@drawable/contact_divider"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.