Skip to content

Commit 99803fc

Browse files
committed
v1.0.0-patch 补资源文件
1 parent f25d3b4 commit 99803fc

23 files changed

+330
-0
lines changed
898 Bytes
Loading
875 Bytes
Loading
941 Bytes
Loading
Loading
Loading
Loading

app/src/main/res/drawable/ic_eyes.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:drawable="@drawable/ic_eyes_open" android:state_checked="true"/>
4+
<item android:drawable="@drawable/ic_eyes_closed"/>
5+
</selector>
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape android:shape="rectangle"
3+
xmlns:android="http://schemas.android.com/apk/res/android">
4+
<solid android:color="@android:color/transparent" />
5+
<stroke android:width="1dp"
6+
android:color="#ffffff"
7+
8+
/>
9+
10+
11+
</shape>
907 Bytes
Loading
Loading
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape android:shape="rectangle"
3+
xmlns:android="http://schemas.android.com/apk/res/android">
4+
<solid android:color="@android:color/transparent" />
5+
<stroke android:width="1dp"
6+
android:color="#C3C6C9"
7+
8+
/>
9+
10+
11+
</shape>
Loading
Loading
Loading
Loading
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="fill_parent"
4+
android:layout_height="fill_parent"
5+
android:background="@android:color/white">
6+
7+
<View
8+
android:id="@+id/view_holder"
9+
android:layout_width="match_parent"
10+
android:layout_height="@dimen/default_padding_top"
11+
android:background="@color/colorPrimaryDark"/>
12+
13+
<RelativeLayout
14+
android:id="@+id/umeng_socialize_titlebar"
15+
android:layout_width="match_parent"
16+
android:layout_height="54dp"
17+
android:layout_below="@+id/view_holder"
18+
android:background="@drawable/tab_channel_background">
19+
20+
<TextView
21+
android:id="@+id/umeng_title"
22+
android:layout_width="wrap_content"
23+
android:layout_height="wrap_content"
24+
android:layout_centerInParent="true"
25+
android:text="@string/app_name"
26+
android:textColor="@color/ph1"
27+
android:textSize="18sp"/>
28+
29+
<RelativeLayout
30+
android:id="@+id/umeng_back"
31+
android:layout_width="wrap_content"
32+
android:layout_height="match_parent"
33+
android:onClick="onCancel"
34+
android:visibility="visible">
35+
36+
<ImageButton
37+
android:layout_width="wrap_content"
38+
android:layout_height="wrap_content"
39+
android:layout_centerVertical="true"
40+
android:background="@color/transparent"
41+
android:clickable="false"
42+
android:padding="12dp"
43+
android:scaleType="center"
44+
android:src="@drawable/ic_back"/>
45+
</RelativeLayout>
46+
47+
<TextView
48+
android:id="@+id/umeng_share_btn"
49+
android:layout_width="wrap_content"
50+
android:layout_height="wrap_content"
51+
android:layout_alignParentRight="true"
52+
android:layout_centerInParent="true"
53+
android:layout_marginRight="10dp"
54+
android:padding="4dp"
55+
android:text="分享"
56+
android:textColor="@color/ph1"/>
57+
</RelativeLayout>
58+
59+
60+
<RelativeLayout
61+
android:id="@+id/umeng_socialize_follow"
62+
android:layout_width="fill_parent"
63+
android:layout_height="40dp"
64+
android:layout_alignParentBottom="true"
65+
android:background="@color/background_divider"
66+
android:visibility="visible">
67+
68+
<CheckBox
69+
android:id="@+id/umeng_socialize_follow_check"
70+
android:layout_width="wrap_content"
71+
android:layout_height="wrap_content"
72+
android:layout_centerVertical="true"
73+
android:layout_marginLeft="12dp"
74+
android:checked="true"
75+
android:visibility="gone"/>
76+
77+
<TextView
78+
android:layout_width="wrap_content"
79+
android:layout_height="wrap_content"
80+
android:layout_centerVertical="true"
81+
android:layout_marginLeft="15dp"
82+
android:layout_toRightOf="@id/umeng_socialize_follow_check"
83+
android:text="关注官方微博"
84+
android:textColor="@color/ph2"
85+
android:textSize="16sp"
86+
android:visibility="gone"/>
87+
</RelativeLayout>
88+
89+
<!--<LinearLayout-->
90+
<!--android:id="@+id/webView_container"-->
91+
<!--android:layout_width="match_parent"-->
92+
<!--android:layout_height="match_parent"-->
93+
<!--android:layout_above="@id/umeng_socialize_follow"-->
94+
<!--android:layout_below="@id/umeng_socialize_titlebar"-->
95+
<!--android:orientation="horizontal"-->
96+
<!--android:visibility="visible" />-->
97+
98+
<WebView
99+
android:id="@+id/webView"
100+
android:layout_width="fill_parent"
101+
android:layout_height="fill_parent"
102+
android:layout_above="@id/umeng_socialize_follow"
103+
android:layout_below="@id/umeng_socialize_titlebar"
104+
android:background="#F2F5F6"
105+
android:visibility="visible"/>
106+
107+
<View
108+
android:layout_width="match_parent"
109+
android:layout_height="0.5dp"
110+
android:layout_above="@+id/umeng_socialize_follow"
111+
android:background="@color/dividerColor"/>
112+
113+
<RelativeLayout
114+
android:id="@+id/progress_bar_parent"
115+
android:layout_width="fill_parent"
116+
android:layout_height="fill_parent"
117+
android:layout_below="@id/umeng_socialize_titlebar"
118+
android:background="#F2F5F6"
119+
android:visibility="visible">
120+
121+
<LinearLayout
122+
android:layout_width="80dp"
123+
android:layout_height="80dp"
124+
android:layout_centerInParent="true"
125+
android:orientation="horizontal">
126+
127+
<ProgressBar
128+
android:layout_width="48dp"
129+
android:layout_height="48dp"
130+
android:layout_margin="10dp"
131+
android:indeterminateDrawable="@drawable/progress_bar_loading"/>
132+
</LinearLayout>
133+
</RelativeLayout>
134+
135+
</RelativeLayout>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
5+
<item name="android:windowTranslucentStatus">true</item>
6+
<item name="android:windowLightStatusBar">true</item>
7+
<item name="android:fitsSystemWindows">false</item>
8+
</style>
9+
</resources>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?><resources>
2+
<color name="umeng_socialize_comments_bg">#F4F4F4</color>
3+
<color name="umeng_socialize_color_group">#2c3035</color>
4+
<color name="umeng_socialize_list_item_textcolor">#333333</color>
5+
<color name="umeng_socialize_list_item_bgcolor">#FFFFFF</color>
6+
<color name="umeng_socialize_divider">#E6E6E6</color>
7+
<color name="umeng_socialize_text_time">#999999</color>
8+
<color name="umeng_socialize_text_title">#464f61</color>
9+
<color name="umeng_socialize_text_friends_list">#959696</color>
10+
<color name="umeng_socialize_text_share_content">#666666</color>
11+
<color name="umeng_socialize_ucenter_bg">#EEEEEE</color>
12+
<color name="umeng_socialize_text_ucenter">#595959</color>
13+
<color name="umeng_socialize_edit_bg">#C4C4C4</color>
14+
<color name="umeng_socialize_grid_divider_line">#F8F8F8</color>
15+
<color name="umeng_socialize_web_bg">#F4F4F4</color>
16+
<color name="umeng_socialize_shareactivity">#D4E0E5</color>
17+
<color name="umeng_socialize_shareactivitydefault">#ffffff</color>
18+
</resources>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<dimen name="alphabet_size">12dip</dimen>
5+
<dimen name="umeng_socialize_pad_window_height">350dip</dimen>
6+
<dimen name="umeng_socialize_pad_window_width">580dip</dimen>
7+
<!-- 平台名称 -->
8+
<string name="umeng_socialize_text_tencent_key">腾讯微博</string>
9+
<string name="umeng_socialize_text_wenxin_fav">微信收藏</string>
10+
<string name="umeng_socialize_text_sina_key">微博</string>
11+
<string name="umeng_socialize_text_qq_key">QQ</string>
12+
<string name="umeng_socialize_text_qq_zone_key">QQ空间</string>
13+
<string name="umeng_socialize_text_renren_key">人人网</string>
14+
<string name="umeng_socialize_text_douban_key">豆瓣</string>
15+
<string name="umeng_socialize_text_weixin_key">微信</string>
16+
<string name="umeng_socialize_text_weixin_circle_key">微信朋友圈</string>
17+
<string name="umeng_socialize_text_weixin_fav_key">微信收藏</string>
18+
<string name="umeng_socialize_text_add_custom_platform">请配置用户平台</string>
19+
<string name="umeng_example_home_btn_plus">社交分享</string>
20+
<string name="umeng_socialize_text_waitting_share">分享中&#8230;</string>
21+
<string name="umeng_socialize_content_hint">说点啥&#8230;</string>
22+
<string name="umeng_socialize_cancel_btn_str">取消</string>
23+
<string name="umeng_socialize_send_btn_str">发送</string>
24+
25+
<string name="umeng_socialize_female">女</string>
26+
<string name="umeng_socialize_male">男</string>
27+
28+
<string name="umeng_socialize_share">分享</string>
29+
30+
<string name="umeng_socialize_mail">邮件</string>
31+
<string name="umeng_socialize_sms">短信</string>
32+
<string name="umeng_socialize_sina">新浪</string>
33+
<string name="umeng_socialize_text_yixin_key">易信</string>
34+
<string name="umeng_socialize_text_yixincircle_key">易信朋友圈</string>
35+
36+
<string name="umeng_socialize_text_laiwangdynamic_key">点点虫动态</string>
37+
<string name="umeng_socialize_text_evernote_key">印象笔记</string>
38+
<string name="umeng_socialize_text_ydnote_key">有道云笔记</string>
39+
<string name="umeng_socialize_text_facebook_key">Facebook</string>
40+
<string name="umeng_socialize_text_facebookmessager_key">Facebook Messager</string>
41+
<string name="umeng_socialize_text_twitter_key">Twitter</string>
42+
<string name="umeng_socialize_text_instagram_key">Instagram</string>
43+
<string name="umeng_socialize_text_pinterest_key">Pinterest</string>
44+
<string name="umeng_socialize_text_pocket_key">Pocket</string>
45+
<string name="umeng_socialize_text_linkedin_key">Linkedin</string>
46+
<string name="umeng_socialize_text_foursquare_key">Foursquare</string>
47+
<string name="umeng_socialize_text_whatsapp_key">WhatsApp</string>
48+
<string name="umeng_socialize_text_line_key">LINE</string>
49+
<string name="umeng_socialize_text_flickr_key">Flickr</string>
50+
<string name="umeng_socialize_text_tumblr_key">Tumblr</string>
51+
<string name="umeng_socialize_text_alipay_key">支付宝</string>
52+
<string name="umeng_socialize_text_kakao_key">KakaoTalk</string>
53+
<string name="umeng_socialize_text_googleplus_key">GooglePlus</string>
54+
<string name="umeng_socialize_text_more_key">更多</string>
55+
<string name="umeng_socialize_text_dingding_key">钉钉</string>
56+
<string name="umeng_socialize_text_vkontakte_key">VKontakte</string>
57+
<string name="umeng_socialize_text_dropbox_key">DropBox</string>
58+
</resources>
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
3+
<style name="ACPLDialog">
4+
<item name="android:windowFrame">@null</item>
5+
<item name="android:windowNoTitle">true</item>
6+
<item name="android:windowIsFloating">true</item>
7+
<item name="android:windowContentOverlay">@null</item>
8+
</style>
9+
<style name="umeng_socialize_action_bar_itemlayout">
10+
<item name="android:layout_height">fill_parent</item>
11+
<item name="android:layout_width">fill_parent</item>
12+
<item name="android:layout_weight">1</item>
13+
<item name="android:paddingLeft">4dp</item>
14+
<item name="android:paddingTop">4dp</item>
15+
<item name="android:paddingRight">4dp</item>
16+
<item name="android:gravity">center_vertical</item>
17+
</style>
18+
19+
<style name="umeng_socialize_action_bar_item_im">
20+
<item name="android:layout_width">25dp</item>
21+
<item name="android:layout_height">25dp</item>
22+
<item name="android:scaleType">fitCenter</item>
23+
<item name="android:layout_centerVertical">true</item>
24+
</style>
25+
26+
<style name="umeng_socialize_action_bar_item_tv">
27+
<item name="android:layout_width">wrap_content</item>
28+
<item name="android:layout_height">fill_parent</item>
29+
<item name="android:layout_marginLeft">5dp</item>
30+
<item name="android:text">999</item>
31+
<item name="android:gravity">center</item>
32+
<item name="android:textColor">#ffffff</item>
33+
<item name="android:textSize">12sp</item>
34+
<item name="android:textStyle">bold</item>
35+
</style>
36+
37+
<style name="umeng_socialize_dialog" parent="Theme.AppCompat.Light.Dialog" />
38+
39+
<style name="umeng_socialize_popup_dialog" parent="umeng_socialize_dialog">
40+
<item name="android:windowFrame">@null</item>
41+
<item name="android:windowIsFloating">true</item>
42+
<item name="android:windowIsTranslucent">true</item>
43+
<item name="android:windowNoTitle">true</item>
44+
<item name="android:background">@android:color/transparent</item>
45+
<item name="android:windowBackground">@android:color/transparent</item>
46+
<item name="android:backgroundDimEnabled">true</item>
47+
<item name="android:backgroundDimAmount">0.6</item>
48+
</style>
49+
50+
51+
<style name="Theme.UMDialog" parent="umeng_socialize_dialog">
52+
<item name="android:windowNoTitle">true</item>
53+
<item name="android:windowBackground">@android:color/transparent</item>
54+
</style>
55+
56+
<style name="Theme.UMDefault" parent="android:style/Theme.NoTitleBar"></style>
57+
58+
<style name="umeng_socialize_divider">
59+
<item name="android:layout_width">fill_parent</item>
60+
<item name="android:layout_height">1dp</item>
61+
<item name="android:background">@color/umeng_socialize_divider</item>
62+
</style>
63+
64+
<style name="umeng_socialize_list_item">
65+
<item name="android:layout_width">fill_parent</item>
66+
<item name="android:layout_height">55dp</item>
67+
<item name="android:background">@color/umeng_socialize_list_item_bgcolor</item>
68+
<item name="android:paddingBottom">5dp</item>
69+
<item name="android:paddingTop">5dp</item>
70+
</style>
71+
72+
<style name="umeng_socialize_edit_padding">
73+
<item name="android:layout_width">fill_parent</item>
74+
<item name="android:layout_height">fill_parent</item>
75+
<item name="android:background">@color/umeng_socialize_list_item_bgcolor</item>
76+
<item name="android:layout_marginLeft">6dp</item>
77+
<item name="android:layout_marginRight">6dp</item>
78+
<item name="android:layout_marginTop">6dp</item>
79+
<item name="android:layout_marginBottom">6dp</item>
80+
</style>
81+
82+
83+
</resources>

0 commit comments

Comments
 (0)