Questions tagged as 'android-layout'

5
answers

Bold in a part of a TextView

Good, I wanted to know if in a TextView you could put only a part of it in bold, like for example: Hello world , my name is Pepe .     
asked by 17.11.2016 / 16:48
2
answers

Create android photo gallery

I would like to be able to develop an activity that accesses a folder with photos and creates a gallery to view them. I think I have practically everything done, but for whatever reason it does not finish visualizing itself well. Layout :...
asked by 16.08.2016 / 12:16
4
answers

Difference between Fragment and FragmentActivity

Well, the title is pretty clear, what is the difference between Fragment and FragmentActivity? I would like to know to know which is the best option for the following case: I have two fragments and in a main activity (with a NavigationView) i...
asked by 29.11.2016 / 17:23
5
answers

How to refer to a textView that is in a Layout that is not that of the setContentView ()?

UPDATE I have 2 layouts that are loaded at the same time, in the 1st layout activity_main.xml I have a listView and a textView , in the 2nd layout single_post.xml I have 4 textView that a...
asked by 02.03.2017 / 06:07
3
answers

Change color buttons of the AppBar on Android

How to change the color of the buttons of the AppBar ?, in my case of the return button, the default color is white But mine turns black and I want to change it to white try it with the accent colors and even then it does not change me....
asked by 29.03.2016 / 00:18
2
answers

What is the difference between android: layout_gravity and android: gravity?

When you design, for example, a TextView view in Android, you can assign the properties android:layout_gravity="left" and / or android:gravity="left" What is the difference between using layout_gravity or gravit...
asked by 05.07.2016 / 01:08
2
answers

What a difference there is between the Res folder and the Assets folder in Android

I wonder if assets and res are the same in Android, is that sometimes I find examples that refer to resources in assets and others in res, is messing me up a bit.     
asked by 14.04.2016 / 19:12
2
answers

Can I prevent my app from taking the font of the operating system in android studio?

What happens is that if the user changes the source of his device, he also changes the source of my app. Can you avoid this? This is the textview that I want to put, but when I simulate it in my phone, the font appears different, and this is...
asked by 25.10.2018 / 19:17
1
answer

How to make a circular layout or Circular ViewPager in Android Studio?

What I'm looking for is like the following image: They are like selectable items, I want to do just like the image, the options rotate from left to right or from right to left, the images become bigger, when you go to the next option an...
asked by 03.09.2016 / 18:23
1
answer

Problem with SearchView Actionbar Android

I want to see if you can help me with another problem, what happens is that in my Activity where I show Clients in a listView custom, integrate in the part of ActionBar a SearchView for users Can I search the client,...
asked by 19.05.2016 / 18:17