+ 8
The Widget or components (such as Rating Bar) from the Palette are not visible on the design view on the Android Studio
I am a beginner in android studio so this question may be stupid for others. You can see that I have already selected the Rating bar but it is neither visible on the Design view and nor on the blueprint.I am done with restarting the project but still nothing. You can view the image and get more imformation from the link given below https://stackoverflow.com/q/51002704/9848459
16 odpowiedzi
+ 6
the screenshot of the code is given with the link on the stackoverflow.
+ 6
KrOW but don't you think still it should show on the design view if it is showing on the emulator as I have to edit it's position
+ 6
KrOW Yes but it not showing any component whether it is switch,text or anything else
+ 5
KrOW but the TextView is not visible on the design view but it is visible on the emulator.
+ 4
Abdur-Rahmaan Janhangeer yes on the emulator its working but not visible on the the design view or the blueprint
+ 4
Actually i am new to android studio so i don't know how to change the layouts
+ 3
Abdur-Rahmaan Janhangeer I am already using the the Android oreo or P
+ 3
change visibility
+ 3
Abdur-Rahmaan Janhangeer I changed the visibility too but still nothing happened
+ 2
try choosing a higher api level
+ 2
lol visibility none
+ 2
have you tried adding images or using it or trying on emulator?
or change layout?
+ 1
Following your posted image on stackoverflow, you have clicked on "!" button (red circle with white color) just to left on top of attribute panel? This show you if there are errors can make you UI preview to not show correctly
+ 1
android studio UI preview emulate itself the layout rendering then you can have problem in it and not in emulator/device... Read https://developer.android.com/studio/write/layout-editor in particular "Show layout warnings and errors" section
+ 1
Vansh Wadhwa No if there are some problems with Android Studio (and there are for sure). Anyway you have clicked that button?
+ 1
That button show you errors that encounter internal AS preview renderer (often like an Java stacktrace)... It dont show this message to you in click it?