I am attempting to learn how to make Android apps(on Jellybean 4.1.2), but I have a problem with the style of my "HelloWorld" app. What I’m going for looks like this(the default edit text/button look):

Unfortunately, what I have looks like this:

This is my layout file source code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText android:id="@+id/edit_message"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>
How can I get it to look like that, and why wasn’t it like that in the first place?
Thanks in advance,
Niro56
If you will just be targeting JellyBean then the code below should do the job. Just add this to your AndroidManifest.xml. When you have the manifest open, make sure you’re looking at the xml code like this:
You should know that if you try to use the holo theme on a device that doesn’t support it (aka: doesn’t understand what Theme.Holo is) then it will most likely crash on those devices.