1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 02:42:16 -05:00

Small changes (Manifest, "about" layout)

This commit is contained in:
Sebastian Kaspari 2010-03-13 18:05:36 +01:00
parent 57e9ba721f
commit 98e24bb8a2
4 changed files with 17 additions and 3 deletions

View File

@ -21,8 +21,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.yaaic" package="org.yaaic"
android:versionCode="1" android:versionCode="1" android:versionName="@string/app_version">
android:versionName="0.1">
<application android:icon="@drawable/icon" android:label="@string/app_name"> <application android:icon="@drawable/icon" android:label="@string/app_name">
<activity <activity
android:name=".view.ServersActivity" android:name=".view.ServersActivity"

View File

@ -30,7 +30,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Yaaic" android:text="Yaaic"
android:textSize="16px" android:textSize="16px"
android:gravity="center_horizontal" /> android:gravity="center_horizontal"
android:textColor="#FF6CB600" />
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -41,6 +42,10 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/app_full_name" android:text="@string/app_full_name"
android:textSize="10px" /> android:textSize="10px" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=" - " />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -58,6 +63,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/app_homepage" android:text="@string/app_homepage"
android:linksClickable="true" android:linksClickable="true"
android:autoLink="web"
android:textColorLink="#FF6CB600"
android:textSize="16px" android:textSize="16px"
android:gravity="center_horizontal" /> android:gravity="center_horizontal" />
<TextView <TextView

View File

@ -24,4 +24,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/add" android:id="@+id/add"
android:title="@string/add_server_menu" android:title="@string/add_server_menu"
android:icon="@android:drawable/ic_menu_add" /> android:icon="@android:drawable/ic_menu_add" />
<item
android:id="@+id/about"
android:title="@string/about_menu"
android:icon="@android:drawable/ic_menu_help" />
</menu> </menu>

View File

@ -24,6 +24,7 @@ import org.yaaic.R;
import android.app.Activity; import android.app.Activity;
import android.os.Bundle; import android.os.Bundle;
import android.view.Window;
/** /**
* About activity * About activity
@ -39,6 +40,9 @@ public class AboutActivity extends Activity
public void onCreate(Bundle savedInstanceState) public void onCreate(Bundle savedInstanceState)
{ {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.about); setContentView(R.layout.about);
} }
} }