Browse Source

分享缺失文件添加

RaoMeng 9 years ago
parent
commit
018073ffa0

+ 8 - 0
WeiChat/src/main/res/drawable-hdpi/umeng_socialize_title_back_bt.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <item android:drawable="@drawable/umeng_socialize_title_back_bt_normal" android:state_pressed="false" android:state_window_focused="false"/>
+    <item android:drawable="@drawable/umeng_socialize_title_back_bt_selected" android:state_pressed="true" android:state_window_focused="true"/>
+    <item android:drawable="@drawable/umeng_socialize_title_back_bt_selected" android:state_focused="true"/>
+
+</selector>

+ 8 - 0
WeiChat/src/main/res/drawable-hdpi/umeng_socialize_title_right_bt.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <item android:drawable="@drawable/umeng_socialize_title_right_bt_normal" android:state_pressed="false" android:state_window_focused="false"/>
+    <item android:drawable="@drawable/umeng_socialize_title_right_bt_selected" android:state_pressed="true" android:state_window_focused="true"/>
+    <item android:drawable="@drawable/umeng_socialize_title_right_bt_selected" android:state_focused="true"/>
+
+</selector>

+ 66 - 0
WeiChat/src/main/res/layout/umeng_socialize_oauth_dialog.xml

@@ -0,0 +1,66 @@
+<?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="fill_parent" >
+
+    <include
+        android:id="@+id/umeng_socialize_titlebar"
+        layout="@layout/umeng_socialize_titile_bar" />
+
+    <RelativeLayout
+        android:id="@+id/umeng_socialize_follow"
+        android:layout_width="fill_parent"
+        android:layout_height="40dp"
+        android:layout_alignParentBottom="true"
+        android:background="#AAAAAA"
+        android:visibility="visible" >
+
+        <CheckBox
+            android:id="@+id/umeng_socialize_follow_check"
+            android:layout_width="20dp"
+            android:layout_height="20dp"
+            android:layout_centerVertical="true"
+            android:layout_marginLeft="20dp"
+            android:visibility="gone"
+            android:checked="true" />
+
+        <TextView
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_centerVertical="true"
+            android:layout_marginLeft="15dp"
+            android:layout_toRightOf="@id/umeng_socialize_follow_check"
+            android:textSize="16sp"
+            android:text="关注官方微博"
+            android:visibility="gone"
+            android:textColor="#f8f8f8" />
+    </RelativeLayout>
+
+    <WebView
+        android:id="@+id/webView"
+        android:layout_width="fill_parent"
+        android:layout_height="fill_parent"
+        android:layout_above="@id/umeng_socialize_follow"
+        android:layout_below="@id/umeng_socialize_titlebar" />
+
+    <RelativeLayout
+        android:id="@+id/progress_bar_parent"
+        android:layout_width="fill_parent"
+        android:layout_height="fill_parent"
+        android:layout_below="@id/umeng_socialize_titlebar"
+        android:background="#66000000" >
+
+        <LinearLayout
+            android:layout_width="80dp"
+            android:layout_height="80dp"
+            android:layout_centerInParent="true"
+            android:orientation="horizontal" >
+
+            <ProgressBar
+                android:layout_width="fill_parent"
+                android:layout_height="fill_parent"
+                android:layout_margin="10dp" />
+        </LinearLayout>
+    </RelativeLayout>
+
+</RelativeLayout>

+ 84 - 0
WeiChat/src/main/res/layout/umeng_socialize_titile_bar.xml

@@ -0,0 +1,84 @@
+<?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="48dp"
+    android:background="#EEEEEE"
+     >
+
+    <Button
+        android:id="@+id/umeng_socialize_title_bar_leftBt"
+        android:layout_width="28dp"
+        android:layout_height="28dp"
+        android:layout_alignParentLeft="true"
+        android:background="@drawable/umeng_socialize_title_back_bt"
+        android:layout_centerVertical="true"
+        android:textColor="#ffffff"
+        android:layout_marginLeft="8dp"
+        android:textSize="12sp" />
+
+    <TextView
+        android:id="@+id/umeng_socialize_title_bar_middleTv"
+        android:layout_width="fill_parent"
+        android:layout_height="fill_parent"
+        android:layout_centerHorizontal="true"
+        android:gravity="center"
+        android:layout_centerVertical="true"
+        android:text="@string/umeng_socialize_comment"
+        android:textColor="@color/umeng_socialize_text_title"
+        android:textSize="20sp" />
+
+    <RelativeLayout
+        android:id="@+id/umeng_socialize_title_bar_middle_tab"
+        android:layout_width="wrap_content"
+        android:layout_height="fill_parent"
+        android:layout_centerHorizontal="true"
+        android:gravity="center_horizontal"
+        android:visibility="gone" >
+
+        <Button
+            android:id="@+id/umeng_socialize_title_middle_left"
+            android:layout_width="98dp"
+            android:layout_height="fill_parent"
+
+            android:text="@string/umeng_socialize_near_At"
+            android:textColor="#ffffff"
+            android:textSize="12sp" />
+
+        <Button
+            android:id="@+id/umeng_socialize_title_middle_right"
+            android:layout_width="98dp"
+            android:layout_height="fill_parent"
+            android:layout_toRightOf="@id/umeng_socialize_title_middle_left"
+
+            android:text="@string/umeng_socialize_friends"
+            android:textColor="#ffffff"
+            android:textSize="12sp" />
+    </RelativeLayout>
+
+    <RelativeLayout
+        android:layout_width="48dp"
+        android:layout_height="fill_parent"
+        android:layout_alignParentRight="true"
+        android:gravity="center_horizontal" >
+
+        <Button
+            android:id="@+id/umeng_socialize_title_bar_rightBt"
+            android:layout_width="28dp"
+            android:layout_height="28dp"
+            android:background="@drawable/umeng_socialize_title_right_bt"
+            android:layout_centerVertical="true"
+            android:textColor="#ffffff"
+            android:textSize="12sp" />
+
+        <ProgressBar
+            android:id="@+id/umeng_socialize_title_bar_rightBt_progress"
+            android:layout_width="25dp"
+            android:layout_height="25dp"
+            android:layout_centerInParent="true"
+            android:gravity="center" 
+            android:visibility="gone"/>
+    </RelativeLayout>
+	<TextView 
+	    style="@style/umeng_socialize_divider"
+	    android:layout_alignParentBottom="true"/>
+</RelativeLayout>