Added icons & layout fixes

This commit is contained in:
Isaac John Wesley 2012-10-07 17:30:41 +05:30 committed by YuviPanda
parent 6e60e27f9e
commit 309d4f7726
8 changed files with 74 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -38,13 +38,29 @@
android:paddingBottom="8dip"
android:background="@drawable/share_overlay_background_gradient" >
<TextView
android:textColor="#818181"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/upload_overlay_title"
android:layout_marginBottom="16dip"
android:textAppearance="?android:attr/textAppearanceLarge" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="25dp"
android:layout_height="25dp"
android:src="@drawable/ic_download" />
<TextView
android:textSize="20sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dip"
android:text="@string/upload_overlay_title"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#818181" />
</LinearLayout>
<TextView
android:textColor="#818181"
@ -63,6 +79,17 @@
android:textColor="#363636"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="1dp"
android:orientation="vertical"
android:background="#dadada"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp">
</LinearLayout>
<TextView
android:textColor="#818181"
android:layout_width="wrap_content"
@ -79,6 +106,17 @@
android:textColor="#363636"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="1dp"
android:orientation="vertical"
android:background="#dadada"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp">
</LinearLayout>
<Button
android:id="@+id/uploadButton"
android:layout_width="fill_parent"

View file

@ -24,12 +24,35 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="150dp"
android:layout_height="fill_parent"
android:layout_below="@+id/commonsLogo"
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
android:orientation="vertical" >
android:orientation="vertical"
android:padding="20dp" >
<EditText
android:id="@+id/loginUsername"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/username" >
<requestFocus />
</EditText>
<EditText
android:id="@+id/loginPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/password"
android:inputType="textPassword" />
<Button
android:id="@+id/loginButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:text="@string/login" />
</LinearLayout>

View file

@ -6,7 +6,6 @@ import android.os.AsyncTask;
import android.os.Bundle;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.view.*;
import android.widget.Button;
import android.widget.EditText;
@ -106,4 +105,7 @@ public class LoginActivity extends Activity {
return super.onOptionsItemSelected(item);
}
}