Android Studio Widget, the text box, large, medium and small text is missing, I have Plain, which gives the name. How can I get it and others?

enter image description here

I watch Youtube examples, and I see that the instructor has widgets that I donโ€™t have, such as text boxes of different sizes and analog clocks.

Can I get more widgets somewhere?

+8
android-studio android-widget
source share
5 answers

I got the text size, the same as in the "tutorial", using:

android:textAppearance="@style/TextAppearance.AppCompat.Large" 
-one
source share

It looks like AndroidStudio has undergone some changes. The best option is to enter the "Text" mode and enter the style yourself. E.g. if you need the equivalent of the LargeText view, add a TextView and go into text mode and add the following line:

Android: textAppearance = "@ style / android: atr / textAppearanceLarge"

Or you can also edit TextView properties too.

+2
source share

You should add this line android:textAppearance="@android:style/TextAppearance.Large" inside the TextView after clicking on the "Text" tab next to the "Design" tab, located in the middle to the left of the "Design" tab. but you must keep in mind that first of all you need to drag a TextView from Widgets into the user interface or the Design section.

+1
source share

Go to the โ€œTextโ€ tab, located in the middle to the left of the โ€œDesignโ€ tab, find the TextView element and inside it just enter this line of code:

style = "/ android: atp / textAppearanceLarge"

Remember that this line of code must be inside the element for it to work.

0
source share

Go to properties, and then select the text and select the application.

enter image description here combat.large

0
source share

All Articles