-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
1f07c69
commit d50405c
Showing
31 changed files
with
419 additions
and
15 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
puymvpjava/src/main/res/drawable/umeng_socialize_btn_bg.xml
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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape android:shape="rectangle" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<solid android:color="@android:color/transparent" /> | ||
<stroke android:width="1dp" | ||
android:color="#ffffff" | ||
|
||
/> | ||
|
||
|
||
</shape> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions
11
puymvpjava/src/main/res/drawable/umeng_socialize_edit_bg.xml
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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape android:shape="rectangle" | ||
xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<solid android:color="@android:color/transparent" /> | ||
<stroke android:width="1dp" | ||
android:color="#C3C6C9" | ||
|
||
/> | ||
|
||
|
||
</shape> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
puymvpjava/src/main/res/layout/socialize_share_menu_item.xml
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,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:orientation="vertical"> | ||
|
||
<com.umeng.socialize.shareboard.SocializeImageView | ||
android:id="@+id/socialize_image_view" | ||
android:layout_width="50dp" | ||
android:layout_height="50dp" | ||
android:padding="5dp" | ||
android:src="@drawable/umeng_socialize_menu_default" /> | ||
|
||
<TextView | ||
android:id="@+id/socialize_text_view" | ||
android:layout_width="63dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="6dp" | ||
android:ellipsize="end" | ||
android:singleLine="true" | ||
android:text="未知" | ||
android:textSize="12sp" /> | ||
|
||
</LinearLayout> |
121 changes: 121 additions & 0 deletions
121
puymvpjava/src/main/res/layout/umeng_socialize_oauth_dialog.xml
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,121 @@ | ||
<?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" | ||
android:background="#D4E0E5"> | ||
|
||
|
||
<RelativeLayout | ||
android:id="@+id/umeng_socialize_titlebar" | ||
android:layout_width="match_parent" | ||
android:layout_height="54dp" | ||
android:background="#0086DC"> | ||
|
||
<TextView | ||
android:id="@+id/umeng_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerInParent="true" | ||
android:text="" | ||
android:textColor="#ffffff" | ||
android:textSize="18sp" /> | ||
|
||
<RelativeLayout | ||
android:id="@+id/umeng_back" | ||
android:layout_width="60dp" | ||
android:layout_height="match_parent" | ||
|
||
android:onClick="onCancel" | ||
android:visibility="visible"> | ||
|
||
<ImageButton | ||
|
||
android:layout_width="12dp" | ||
android:layout_height="20dp" | ||
android:layout_centerVertical="true" | ||
android:background="@drawable/umeng_socialize_back_icon" | ||
android:layout_marginLeft="15dp" | ||
android:scaleType="center" /> | ||
</RelativeLayout> | ||
|
||
<TextView | ||
android:id="@+id/umeng_share_btn" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerInParent="true" | ||
android:layout_marginRight="10dp" | ||
android:background="@drawable/umeng_socialize_btn_bg" | ||
android:padding="4dp" | ||
android:text="分享" | ||
android:textColor="#ffffff" /> | ||
</RelativeLayout> | ||
|
||
<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:checked="true" | ||
android:visibility="gone" /> | ||
|
||
<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:text="关注官方微博" | ||
android:textColor="#f8f8f8" | ||
android:textSize="16sp" | ||
android:visibility="gone" /> | ||
</RelativeLayout> | ||
|
||
<!--<LinearLayout--> | ||
<!--android:id="@+id/webView_container"--> | ||
<!--android:layout_width="match_parent"--> | ||
<!--android:layout_height="match_parent"--> | ||
<!--android:layout_above="@id/umeng_socialize_follow"--> | ||
<!--android:layout_below="@id/umeng_socialize_titlebar"--> | ||
<!--android:orientation="horizontal"--> | ||
<!--android:visibility="visible" />--> | ||
|
||
<WebView | ||
android:id="@+id/webView" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:background="#F2F5F6" | ||
android:layout_above="@id/umeng_socialize_follow" | ||
android:layout_below="@id/umeng_socialize_titlebar" | ||
android:visibility="visible" /> | ||
|
||
<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="#F2F5F6" > | ||
|
||
<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> |
137 changes: 137 additions & 0 deletions
137
puymvpjava/src/main/res/layout/umeng_socialize_share.xml
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,137 @@ | ||
<?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="match_parent" | ||
android:background="#D4E0E5" | ||
android:id="@+id/root" | ||
android:orientation="vertical"> | ||
|
||
<RelativeLayout | ||
android:id="@+id/umeng_socialize_share_titlebar" | ||
android:layout_width="match_parent" | ||
android:layout_height="54dp" | ||
android:background="#0086DC"> | ||
|
||
<TextView | ||
android:id="@+id/umeng_title" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_centerInParent="true" | ||
android:text="" | ||
android:textColor="#ffffff" | ||
android:textSize="18sp" /> | ||
|
||
<RelativeLayout | ||
android:id="@+id/umeng_back" | ||
android:layout_width="50dp" | ||
android:layout_height="match_parent" | ||
android:onClick="onCancel" | ||
android:visibility="visible"> | ||
|
||
<ImageButton | ||
android:layout_width="12dp" | ||
android:layout_height="20dp" | ||
android:layout_centerVertical="true" | ||
android:layout_marginLeft="15dp" | ||
android:background="@drawable/umeng_socialize_back_icon" | ||
android:clickable="false" | ||
android:scaleType="center" /> | ||
</RelativeLayout> | ||
|
||
<TextView | ||
android:id="@+id/umeng_share_btn" | ||
android:layout_width="wrap_content" | ||
android:layout_height="match_parent" | ||
android:layout_alignParentRight="true" | ||
android:layout_centerInParent="true" | ||
android:gravity="center_vertical" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp" | ||
android:text="分享" | ||
android:textColor="#ffffff" | ||
android:textSize="15sp" /> | ||
</RelativeLayout> | ||
|
||
<EditText | ||
android:id="@+id/umeng_socialize_share_edittext" | ||
android:layout_width="fill_parent" | ||
android:layout_height="180dp" | ||
android:layout_below="@id/umeng_socialize_share_titlebar" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp" | ||
android:paddingTop="8dp" | ||
android:background="#ffffff" | ||
android:bufferType="spannable" | ||
android:gravity="top" | ||
android:hint="编辑分享内容" | ||
android:lineSpacingExtra="3dp" | ||
android:paddingBottom="10dp" | ||
android:textColor="#000000" | ||
android:textSize="15sp" /> | ||
|
||
<TextView | ||
android:id="@+id/umeng_socialize_share_word_num" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignRight="@id/umeng_socialize_share_edittext" | ||
android:background="#ffffff" | ||
android:layout_below="@id/umeng_socialize_share_edittext" | ||
android:paddingBottom="10dp" | ||
android:paddingRight="15dp" | ||
android:gravity="right" | ||
android:singleLine="true" | ||
android:textColor="#98999B" | ||
android:textSize="14sp" /> | ||
|
||
<RelativeLayout | ||
android:id="@+id/umeng_socialize_share_bottom_area" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_below="@id/umeng_socialize_share_word_num" | ||
android:layout_marginLeft="15dp" | ||
android:layout_marginRight="15dp" | ||
android:background="#F2F5F6" | ||
android:visibility="gone"> | ||
<RelativeLayout | ||
android:layout_width="62dp" | ||
android:layout_height="62dp" | ||
android:layout_centerVertical="true" | ||
android:layout_marginBottom="15dp" | ||
android:layout_marginLeft="15dp" | ||
android:id="@+id/umeng_image_edge" | ||
android:layout_marginTop="15dp" | ||
android:background="@drawable/umeng_socialize_edit_bg" | ||
> | ||
<ImageView | ||
android:id="@+id/umeng_share_icon" | ||
android:layout_width="60dp" | ||
android:layout_height="60dp" | ||
android:layout_centerInParent="true" | ||
android:src="#2c3035" /> | ||
</RelativeLayout> | ||
<TextView | ||
android:layout_width="280dp" | ||
android:id="@+id/umeng_web_title" | ||
android:layout_toRightOf="@id/umeng_image_edge" | ||
android:layout_marginLeft="40dp" | ||
android:layout_marginTop="20dp" | ||
android:textColor="#575A5C" | ||
android:singleLine="true" | ||
android:textSize="14sp" | ||
android:visibility="gone" | ||
android:layout_height="wrap_content" /> | ||
|
||
<ImageView | ||
android:id="@+id/umeng_del" | ||
android:layout_width="20dp" | ||
android:layout_height="20dp" | ||
android:layout_alignRight="@id/umeng_image_edge" | ||
android:layout_alignTop="@id/umeng_image_edge" | ||
android:layout_marginRight="-10dp" | ||
android:layout_marginTop="-10dp" | ||
android:background="@drawable/umeng_socialize_delete" /> | ||
|
||
|
||
</RelativeLayout> | ||
|
||
</RelativeLayout> |
10 changes: 10 additions & 0 deletions
10
puymvpjava/src/main/res/values/umeng_socialize_shareview_strings.xml
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,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="umeng_socialize_sharetosina">分享到新浪微博</string> | ||
<string name="umeng_socialize_sharetodouban">分享到豆瓣</string> | ||
<string name="umeng_socialize_sharetorenren">分享到人人网</string> | ||
|
||
<string name="umeng_socialize_sharetotencent">分享到腾讯微博</string> | ||
<string name="umeng_socialize_sharetotwitter">分享到twitter</string> | ||
<string name="umeng_socialize_sharetolinkin">分享到领英</string> | ||
</resources> |
Oops, something went wrong.