Fix layouts for APIs <= 16
This commit is contained in:
		
							parent
							
								
									4d0c4babe6
								
							
						
					
					
						commit
						74ca3c2aa5
					
				@ -2,7 +2,9 @@
 | 
			
		||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    android:layout_width="fill_parent"
 | 
			
		||||
    android:layout_height="fill_parent"
 | 
			
		||||
    android:paddingLeft="8dp"
 | 
			
		||||
    android:paddingStart="8dp"
 | 
			
		||||
    android:paddingRight="8dp"
 | 
			
		||||
    android:paddingEnd="8dp"
 | 
			
		||||
    android:paddingTop="6dp"
 | 
			
		||||
    android:paddingBottom="6dp"
 | 
			
		||||
@ -19,6 +21,7 @@
 | 
			
		||||
            android:layout_height="wrap_content" />
 | 
			
		||||
 | 
			
		||||
        <TextView android:id="@+id/version"
 | 
			
		||||
            android:paddingLeft="5dp"
 | 
			
		||||
            android:paddingStart="5dp"
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
			android:layout_height="wrap_content" />
 | 
			
		||||
@ -37,6 +40,7 @@
 | 
			
		||||
 | 
			
		||||
        <TextView android:id="@+id/sitec"
 | 
			
		||||
            android:text="@string/about_sitec"
 | 
			
		||||
            android:paddingLeft="5dp"
 | 
			
		||||
            android:paddingStart="5dp"
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="wrap_content" />
 | 
			
		||||
@ -56,6 +60,7 @@
 | 
			
		||||
 | 
			
		||||
        <TextView android:id="@+id/mailc"
 | 
			
		||||
            android:text="@string/about_mailc"
 | 
			
		||||
            android:paddingLeft="5dp"
 | 
			
		||||
            android:paddingStart="5dp"
 | 
			
		||||
            android:autoLink="email"
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
 | 
			
		||||
@ -5,11 +5,14 @@
 | 
			
		||||
		android:orientation="vertical"
 | 
			
		||||
		android:paddingTop="5dp"
 | 
			
		||||
		android:paddingBottom="5dp"
 | 
			
		||||
		android:paddingLeft="2dp"
 | 
			
		||||
		android:paddingStart="2dp"
 | 
			
		||||
		android:paddingRight="2dp"
 | 
			
		||||
		android:paddingEnd="2dp">
 | 
			
		||||
 | 
			
		||||
  <TextView android:id="@+id/buildtype"
 | 
			
		||||
	    android:textSize="12sp"
 | 
			
		||||
	    android:layout_alignParentRight="true"
 | 
			
		||||
	    android:layout_alignParentEnd="true"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_width="wrap_content" />
 | 
			
		||||
@ -20,12 +23,14 @@
 | 
			
		||||
	    android:ellipsize="end"
 | 
			
		||||
	    android:layout_width="fill_parent"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_toLeftOf="@id/buildtype"
 | 
			
		||||
	    android:layout_toStartOf="@id/buildtype"
 | 
			
		||||
	    android:textSize="18sp" />
 | 
			
		||||
 | 
			
		||||
  <TextView android:id="@+id/size"
 | 
			
		||||
	    android:textSize="12sp"
 | 
			
		||||
	    android:layout_below="@id/version"
 | 
			
		||||
	    android:layout_alignParentRight="true"
 | 
			
		||||
	    android:layout_alignParentEnd="true"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_width="wrap_content" />
 | 
			
		||||
@ -35,7 +40,9 @@
 | 
			
		||||
	    android:maxLines="2"
 | 
			
		||||
	    android:ellipsize="end"
 | 
			
		||||
	    android:layout_below="@id/version"
 | 
			
		||||
	    android:layout_toLeftOf="@id/size"
 | 
			
		||||
	    android:layout_toStartOf="@id/size"
 | 
			
		||||
	    android:layout_alignParentLeft="true"
 | 
			
		||||
	    android:layout_alignParentStart="true"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_width="wrap_content" />
 | 
			
		||||
@ -43,6 +50,7 @@
 | 
			
		||||
  <TextView android:id="@+id/added"
 | 
			
		||||
	    android:textSize="12sp"
 | 
			
		||||
	    android:layout_below="@id/status"
 | 
			
		||||
	    android:layout_alignParentLeft="true"
 | 
			
		||||
	    android:layout_alignParentStart="true"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_width="wrap_content" />
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,9 @@
 | 
			
		||||
    android:layout_width="fill_parent"
 | 
			
		||||
    android:layout_height="fill_parent"
 | 
			
		||||
    android:paddingTop="5dp"
 | 
			
		||||
    android:paddingLeft="8dp"
 | 
			
		||||
    android:paddingStart="8dp"
 | 
			
		||||
    android:paddingRight="8dp"
 | 
			
		||||
    android:paddingEnd="8dp"
 | 
			
		||||
    android:orientation="vertical" >
 | 
			
		||||
 | 
			
		||||
@ -39,6 +41,7 @@
 | 
			
		||||
                android:id="@+id/license"
 | 
			
		||||
                android:layout_width="wrap_content"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:layout_alignParentRight="true"
 | 
			
		||||
                android:layout_alignParentEnd="true"
 | 
			
		||||
                android:layout_below="@id/title"
 | 
			
		||||
                android:textSize="12sp" />
 | 
			
		||||
@ -47,8 +50,10 @@
 | 
			
		||||
                android:id="@+id/status"
 | 
			
		||||
                android:layout_width="fill_parent"
 | 
			
		||||
                android:layout_height="wrap_content"
 | 
			
		||||
                android:layout_alignParentLeft="true"
 | 
			
		||||
                android:layout_alignParentStart="true"
 | 
			
		||||
                android:layout_below="@id/title"
 | 
			
		||||
                android:layout_toLeftOf="@id/license"
 | 
			
		||||
                android:layout_toStartOf="@id/license"
 | 
			
		||||
                android:textSize="12sp" />
 | 
			
		||||
        </RelativeLayout>
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,9 @@
 | 
			
		||||
		android:layout_height="wrap_content"
 | 
			
		||||
		android:paddingTop="3dp"
 | 
			
		||||
		android:paddingBottom="4dp"
 | 
			
		||||
		android:paddingLeft="6dp"
 | 
			
		||||
		android:paddingStart="6dp"
 | 
			
		||||
		android:paddingRight="10dp"
 | 
			
		||||
		android:paddingEnd="10dp">
 | 
			
		||||
 | 
			
		||||
  <ImageView android:id="@+id/icon"
 | 
			
		||||
@ -19,6 +21,7 @@
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:orientation="horizontal"
 | 
			
		||||
        android:layout_alignParentTop="true"
 | 
			
		||||
        android:layout_alignParentRight="true"
 | 
			
		||||
        android:layout_alignParentEnd="true"
 | 
			
		||||
        android:padding="4dp">
 | 
			
		||||
 | 
			
		||||
@ -41,10 +44,13 @@
 | 
			
		||||
	    android:ellipsize="marquee"
 | 
			
		||||
	    android:layout_width="fill_parent"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_toRightOf="@id/icon"
 | 
			
		||||
	    android:layout_toEndOf="@id/icon"
 | 
			
		||||
	    android:layout_toLeftOf="@id/status_icons"
 | 
			
		||||
	    android:layout_toStartOf="@id/status_icons"
 | 
			
		||||
	    android:paddingTop="4dp"
 | 
			
		||||
	    android:paddingBottom="2dp"
 | 
			
		||||
	    android:paddingLeft="1dp"
 | 
			
		||||
	    android:paddingStart="1dp"/>
 | 
			
		||||
 | 
			
		||||
  <TextView android:id="@+id/license"
 | 
			
		||||
@ -54,6 +60,7 @@
 | 
			
		||||
	    android:layout_width="wrap_content"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_below="@id/name"
 | 
			
		||||
	    android:layout_alignParentRight="true"
 | 
			
		||||
	    android:layout_alignParentEnd="true"/>
 | 
			
		||||
 | 
			
		||||
  <TextView android:id="@+id/status"
 | 
			
		||||
@ -63,8 +70,11 @@
 | 
			
		||||
	    android:layout_width="wrap_content"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_alignBaseline="@id/license"
 | 
			
		||||
	    android:layout_toLeftOf="@id/license"
 | 
			
		||||
	    android:layout_toStartOf="@id/license"
 | 
			
		||||
	    android:layout_alignLeft="@id/name"
 | 
			
		||||
	    android:layout_alignStart="@id/name"
 | 
			
		||||
	    android:paddingLeft="1dp"
 | 
			
		||||
	    android:paddingStart="1dp"/>
 | 
			
		||||
 | 
			
		||||
  <TextView android:id="@+id/summary"
 | 
			
		||||
@ -73,6 +83,7 @@
 | 
			
		||||
	    android:layout_width="fill_parent"
 | 
			
		||||
	    android:layout_height="wrap_content"
 | 
			
		||||
	    android:layout_below="@id/icon"
 | 
			
		||||
	    android:paddingLeft="6dp"
 | 
			
		||||
	    android:paddingStart="6dp"/>
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,9 @@
 | 
			
		||||
    android:layout_width="wrap_content"
 | 
			
		||||
    android:layout_height="wrap_content"
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
    android:paddingLeft="6dip"
 | 
			
		||||
    android:paddingStart="6dip"
 | 
			
		||||
    android:paddingRight="6dip"
 | 
			
		||||
    android:paddingEnd="6dip"
 | 
			
		||||
    android:paddingBottom="6dip">
 | 
			
		||||
    
 | 
			
		||||
@ -33,4 +35,4 @@
 | 
			
		||||
 * You should have received a copy of the GNU General Public License
 | 
			
		||||
 * along with this program; if not, write to the Free Software
 | 
			
		||||
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 | 
			
		||||
-->
 | 
			
		||||
-->
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user