mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Added custom alert for share option
This commit is contained in:
parent
c65df3756e
commit
5a5f7c4b92
3 changed files with 53 additions and 1 deletions
21
app/src/main/res/layout/image_alert_layout.xml
Normal file
21
app/src/main/res/layout/image_alert_layout.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_margin="@dimen/activity_margin_horizontal"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="200dp"
|
||||
android:id="@+id/alert_image" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/alert_text"
|
||||
android:layout_marginRight="@dimen/activity_margin_horizontal"
|
||||
android:layout_marginLeft="@dimen/activity_margin_horizontal"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -292,4 +292,5 @@
|
|||
<string name="images_uploaded">Images Uploaded</string>
|
||||
<string name="image_reverts">Images Not Reverted</string>
|
||||
<string name="images_used_by_wiki">Images Used By Wiki</string>
|
||||
<string name="achievements_share_message">Proceed to Share the Screenshot of Achievements</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue