Material design not showing on new “Empty Acitivity” templated appAndroid unable to load drawable image on MenuAndroid Material Design Button StylesMaterial Design not styling alert dialogsColoring Buttons in Android with Material Design and AppCompatChoosing bootstrap vs material designImport material design icons into an android projectAndroid Studio Layout ErrorsHow to include auto-complete feature for added xml namespace?How to find dimensions for Material Design UI Elements?RecyclerView's height 'match_parent' not working as expected whereas fixed height (1000dp,2000dp) is working
Top off gas with old oil, is that bad?
My first Hangman game in Python
How many space launch vehicles are under development worldwide?
Can I pay some of the cost of an activated ability lots of times to get more out of the effect?
How do my husband and I get over our fear of having another difficult baby?
Should I be on the paper from another PhD student that I constantly went on his meetings?
Can an energy drink or chocolate before an exam be useful ? What sort of other edible goods be helpful?
Is there any site with telescopes data?
Science fiction episode about the creation of a living pegasus, even though flightless
Garage door sticks on a bolt
Why do Russians sometimes spell "жирный" (fatty) as "жырный"?
Assembly of PCBs containing a mix of SMT and thru-hole parts?
A famous scholar sent me an unpublished draft of hers. Then she died. I think her work should be published. What should I do?
Can I exile my opponent's Progenitus/True-Name Nemesis with Teferi, Hero of Dominaria's emblem?
Is determiner 'a' needed in "one would call such a value a constant"?
A cotton-y connection
How do I introduce dark themes?
Is it possible to take a database offline when doing a backup using an SQL job?
How to identify whether a publisher is genuine or not?
Avoiding dust scattering when you drill
GPLv3 forces us to make code available, but to who?
Pushing the e-pawn
Phonetic distortion when words are borrowed among languages
Beyond Futuristic Technology for an Alien Warship?
Material design not showing on new “Empty Acitivity” templated app
Android unable to load drawable image on MenuAndroid Material Design Button StylesMaterial Design not styling alert dialogsColoring Buttons in Android with Material Design and AppCompatChoosing bootstrap vs material designImport material design icons into an android projectAndroid Studio Layout ErrorsHow to include auto-complete feature for added xml namespace?How to find dimensions for Material Design UI Elements?RecyclerView's height 'match_parent' not working as expected whereas fixed height (1000dp,2000dp) is working
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to learn Android development. I'm clicking the template for "Empty Activity," which shows a nice Material Toolbar with a back button. However, I don't see it when I view the main layout xml file. Am I doing something wrong? Is it supposed to be like this? The tutorial shows it differently than mine:
Tutorial shows Material toolbar:
Mine shows nothing:
Here's a video of me reproducing the problem: https://imgur.com/a/6fMaCki
Here is the activity_main.xml that Android Studio create for me:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
android-studio android-layout material-design android-xml
add a comment
|
I'm trying to learn Android development. I'm clicking the template for "Empty Activity," which shows a nice Material Toolbar with a back button. However, I don't see it when I view the main layout xml file. Am I doing something wrong? Is it supposed to be like this? The tutorial shows it differently than mine:
Tutorial shows Material toolbar:
Mine shows nothing:
Here's a video of me reproducing the problem: https://imgur.com/a/6fMaCki
Here is the activity_main.xml that Android Studio create for me:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
android-studio android-layout material-design android-xml
Android studio changed those templates a while ago, probably the codelab, which you are trying to follow, is outdated.
– glm9637
Mar 28 at 19:55
I see the same templates as the ones in the tutorial, and installed a fresh Android Studio a few days ago.
– AskYous
Mar 28 at 19:57
Do you have a link to this codelab? I can't seem to find it.
– glm9637
Mar 28 at 19:59
Yes it's here: codelabs.developers.google.com/codelabs/…
– AskYous
Mar 28 at 19:59
1
From what i see, you have the exact same code, probably the rendering inside Android Studio changed inside the last half year, so they don't display it anymore. Just continue the codelab, when you will run in on a device, it will look just fine.
– glm9637
Mar 28 at 20:07
add a comment
|
I'm trying to learn Android development. I'm clicking the template for "Empty Activity," which shows a nice Material Toolbar with a back button. However, I don't see it when I view the main layout xml file. Am I doing something wrong? Is it supposed to be like this? The tutorial shows it differently than mine:
Tutorial shows Material toolbar:
Mine shows nothing:
Here's a video of me reproducing the problem: https://imgur.com/a/6fMaCki
Here is the activity_main.xml that Android Studio create for me:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
android-studio android-layout material-design android-xml
I'm trying to learn Android development. I'm clicking the template for "Empty Activity," which shows a nice Material Toolbar with a back button. However, I don't see it when I view the main layout xml file. Am I doing something wrong? Is it supposed to be like this? The tutorial shows it differently than mine:
Tutorial shows Material toolbar:
Mine shows nothing:
Here's a video of me reproducing the problem: https://imgur.com/a/6fMaCki
Here is the activity_main.xml that Android Studio create for me:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
android-studio android-layout material-design android-xml
android-studio android-layout material-design android-xml
edited Mar 29 at 9:45
Zoe
16.1k12 gold badges67 silver badges98 bronze badges
16.1k12 gold badges67 silver badges98 bronze badges
asked Mar 28 at 19:52
AskYousAskYous
1,28419 silver badges37 bronze badges
1,28419 silver badges37 bronze badges
Android studio changed those templates a while ago, probably the codelab, which you are trying to follow, is outdated.
– glm9637
Mar 28 at 19:55
I see the same templates as the ones in the tutorial, and installed a fresh Android Studio a few days ago.
– AskYous
Mar 28 at 19:57
Do you have a link to this codelab? I can't seem to find it.
– glm9637
Mar 28 at 19:59
Yes it's here: codelabs.developers.google.com/codelabs/…
– AskYous
Mar 28 at 19:59
1
From what i see, you have the exact same code, probably the rendering inside Android Studio changed inside the last half year, so they don't display it anymore. Just continue the codelab, when you will run in on a device, it will look just fine.
– glm9637
Mar 28 at 20:07
add a comment
|
Android studio changed those templates a while ago, probably the codelab, which you are trying to follow, is outdated.
– glm9637
Mar 28 at 19:55
I see the same templates as the ones in the tutorial, and installed a fresh Android Studio a few days ago.
– AskYous
Mar 28 at 19:57
Do you have a link to this codelab? I can't seem to find it.
– glm9637
Mar 28 at 19:59
Yes it's here: codelabs.developers.google.com/codelabs/…
– AskYous
Mar 28 at 19:59
1
From what i see, you have the exact same code, probably the rendering inside Android Studio changed inside the last half year, so they don't display it anymore. Just continue the codelab, when you will run in on a device, it will look just fine.
– glm9637
Mar 28 at 20:07
Android studio changed those templates a while ago, probably the codelab, which you are trying to follow, is outdated.
– glm9637
Mar 28 at 19:55
Android studio changed those templates a while ago, probably the codelab, which you are trying to follow, is outdated.
– glm9637
Mar 28 at 19:55
I see the same templates as the ones in the tutorial, and installed a fresh Android Studio a few days ago.
– AskYous
Mar 28 at 19:57
I see the same templates as the ones in the tutorial, and installed a fresh Android Studio a few days ago.
– AskYous
Mar 28 at 19:57
Do you have a link to this codelab? I can't seem to find it.
– glm9637
Mar 28 at 19:59
Do you have a link to this codelab? I can't seem to find it.
– glm9637
Mar 28 at 19:59
Yes it's here: codelabs.developers.google.com/codelabs/…
– AskYous
Mar 28 at 19:59
Yes it's here: codelabs.developers.google.com/codelabs/…
– AskYous
Mar 28 at 19:59
1
1
From what i see, you have the exact same code, probably the rendering inside Android Studio changed inside the last half year, so they don't display it anymore. Just continue the codelab, when you will run in on a device, it will look just fine.
– glm9637
Mar 28 at 20:07
From what i see, you have the exact same code, probably the rendering inside Android Studio changed inside the last half year, so they don't display it anymore. Just continue the codelab, when you will run in on a device, it will look just fine.
– glm9637
Mar 28 at 20:07
add a comment
|
1 Answer
1
active
oldest
votes
You have to click eye
icon/button and choose "Show Layout Decorations"
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55405839%2fmaterial-design-not-showing-on-new-empty-acitivity-templated-app%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to click eye
icon/button and choose "Show Layout Decorations"
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
add a comment
|
You have to click eye
icon/button and choose "Show Layout Decorations"
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
add a comment
|
You have to click eye
icon/button and choose "Show Layout Decorations"
You have to click eye
icon/button and choose "Show Layout Decorations"
answered Mar 28 at 20:08
BokenBoken
1,5631 gold badge12 silver badges19 bronze badges
1,5631 gold badge12 silver badges19 bronze badges
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
add a comment
|
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
Wow thanks! I hope they update their tutorial.
– AskYous
Mar 28 at 21:09
add a comment
|
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55405839%2fmaterial-design-not-showing-on-new-empty-acitivity-templated-app%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Android studio changed those templates a while ago, probably the codelab, which you are trying to follow, is outdated.
– glm9637
Mar 28 at 19:55
I see the same templates as the ones in the tutorial, and installed a fresh Android Studio a few days ago.
– AskYous
Mar 28 at 19:57
Do you have a link to this codelab? I can't seem to find it.
– glm9637
Mar 28 at 19:59
Yes it's here: codelabs.developers.google.com/codelabs/…
– AskYous
Mar 28 at 19:59
1
From what i see, you have the exact same code, probably the rendering inside Android Studio changed inside the last half year, so they don't display it anymore. Just continue the codelab, when you will run in on a device, it will look just fine.
– glm9637
Mar 28 at 20:07