mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-11-04 00:33:55 +01:00 
			
		
		
		
	Needs some UI love on both selection & intimation, but works otherwise
People can pick from CC BY-SA, CC BY, or CC0. The commons templates
are set using {[self}}, which I think is good enough.
GitHub: https://github.com/wikimedia/apps-android-commons/pull/14
Change-Id: Iffca6f75c63de6fbe61c4dc41b93dd5f692065a5
		
	
			
		
			
				
	
	
		
			42 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?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="match_parent"
 | 
						|
        android:layout_gravity="fill"
 | 
						|
        android:orientation="vertical"
 | 
						|
        android:background="#AA000000"
 | 
						|
        android:paddingBottom="8dip"
 | 
						|
        android:paddingLeft="16dip"
 | 
						|
        android:paddingStart="16dip"
 | 
						|
        android:paddingRight="16dip"
 | 
						|
        android:paddingEnd="16dip"
 | 
						|
        android:paddingTop="8dip"
 | 
						|
        >
 | 
						|
 | 
						|
    <EditText
 | 
						|
            android:id="@+id/titleEdit"
 | 
						|
            android:layout_width="fill_parent"
 | 
						|
            android:layout_height="wrap_content"
 | 
						|
            android:scrollHorizontally="false"
 | 
						|
            android:singleLine="true"
 | 
						|
            android:hint="@string/share_title_hint"
 | 
						|
            android:imeOptions="flagNoExtractUi"
 | 
						|
            />
 | 
						|
 | 
						|
    <EditText
 | 
						|
            android:id="@+id/descEdit"
 | 
						|
            android:layout_width="fill_parent"
 | 
						|
            android:layout_height="wrap_content"
 | 
						|
            android:inputType="textMultiLine"
 | 
						|
            android:hint="@string/share_description_hint"
 | 
						|
            android:imeOptions="flagNoExtractUi"
 | 
						|
            />
 | 
						|
    <TextView
 | 
						|
            android:layout_width="wrap_content"
 | 
						|
            android:layout_height="wrap_content"
 | 
						|
            android:text="@string/share_license_summary"
 | 
						|
            android:id="@+id/share_license_summary"
 | 
						|
            android:layout_gravity="center"
 | 
						|
            android:layout_marginTop="16dp"/>
 | 
						|
</LinearLayout>
 |