Questions tagged [android-designer]

42 questions
0
votes
0 answers

Android ChipGroup: Add child view only in XML to check layout design

I have been trying this scenario. I have a ChipGroup and I only add the Chips dynamically into the group. Now if I want to check the layout design I do it by adding some Chips temporarily in the xml. Then, when the app builds, these temporary Chips…
Sashi Kiran
  • 156
  • 9
0
votes
0 answers

Making ui look like "always on screen in samsung"

I want to make a UI that looks like. There will be text in the center of the screen and no background. All of these pixels must be closed. Is there any way to do it? Not: I don't mean changing the background to black. This way, the black area still…
Arda Kaplan
  • 1,720
  • 1
  • 15
  • 23
0
votes
1 answer

CoordinatorLayout layout_anchorGravity not working?

I am trying to make a layout design .In which i set anchorGravity of two views card view and fab. but fab is correct position but the card view not correct position. I also attach two images for explanation. Why does it happens ? How can I Solve it…
Ali Hassan
  • 188
  • 4
  • 8
0
votes
0 answers

Looking for proper android element

I'm looking for an android element, which is very similar to collapsing toolbar but upside down. An example is showed in images. Please help me to find the proper solution for the related design. element like this element like this
0
votes
2 answers

Impossible put at the top one image using a constraintlayout in android

I'm trying to put an image header at the top of the constraintlayout but when i run the app in a real device it is wrong and the header is not in the top:
0
votes
1 answer

Hiding AppBarLayout upon viewing a certain Fragment

i am new to android and trying to implement a main activity with tabs, each tab contains a fragment, and upon one of the fragments i would like the whole app bar to disappear (its intended to be a camera fragment) , leaving the certain fragment in…
0
votes
1 answer

Convert ARGB color string to int ARGB int format Color in android

I am required to pass ARGB color from 1 Activity to other activity as String. Now I am required to convert the same color string in other activity to be converted to int to pass into an argument in color method. Here is my…
0
votes
1 answer

Why this TextViews are not showing when I run into a real device or emulator

Hello guys I have designed a GridLayout with CardViews to make a Dashboard but the TextViews of the items are not showing in the emulator and a real device.. in the designer view it are showing but when I run it those TextView are not showing..…
0
votes
3 answers

Android layout design is not the same as the app when running on the mobile

The design of my layout is not the same in Android Studio preview and in my mobile (Samsung s8). I'm trying to make both button to be horizontal align (i.e To start and ends at the same x asix).According to the designer it seems aligned the way i…
Eitanos30
  • 1,331
  • 11
  • 19
0
votes
1 answer

Elements getting moved above soft keyboard

My Problem is, if the soft Keyboard Pops up, every element on my activity gets moved up. Except for my two TextViews on top of the activity. Softkeyboard_off Softkeyboard_on I was serching for a solution on the Web but didn't find anything that…
0
votes
0 answers

How to solve massive rendering problems in Android development

I'm currently working with Xamarin for developing an android app. The structure of the app is really simple yet but a big problem appeared concerning the rendering of my main page. First, it's important to know that I'm supposed to develop for…
0
votes
1 answer

Add Background property to Custom TextView component with only border at bottom

I am trying to add a drawable background to a CustomTextView on android. I tried using style attribute in styles.xml but I was unable to apply it. Here is my implementation so far. CustomTextView.java public class CustomTextView extends…
0
votes
1 answer

How to remove shadow between default top Toolbar and TabBar | Android

Any one please help, i am new with android i need to remove shadow between Toolbar and TabBar. I have tried multiple online solution but any thing is not working form me..... please help me... Reference Image enter image description here Activity…
0
votes
1 answer

Spinner does now show selected value in some screens- how should I design it?

I'm developing an android application - I'm using Horizontal LinearLayout with textView and spinners. In some screen resolutions everything just works fine, but in some other screens it does not show what I have selected in the spinner. This is the…
0
votes
1 answer

Android designer not rendernig properly in Visual Studio Community 2017

Since its installation, the android designer is not rendering properly because of which I have problems designing the UI. This is the screenshot that says it all. I have repaired the installation and also uninstalled and the reinstalled the VS2017…