android material design issue - android

i am trying to solve a issue for last 1 week. i am not sure what is wrong with the code.
i am trying to use this library https://github.com/rudsonlive/NavigationDrawer-MaterialDesign
I can able to compile and run the code
the issue is ,there is big difference in the display quality
clearly we can notice the font is completely not matching.
please help me to resolve this.

You should use Android Design Support Library to achieve this.
It's quite easier and will surely fix your problem.
Check this official sample to learn how to use this:
https://github.com/chrisbanes/cheesesquare

Omg i cannot believe it. the actual problem with me is eclipse.
I use android design support library and all other needed libraries.
i only can manage to run the project but when i imported the project using android studio everything is working fine without any additional work.
dam it.
any one tired with eclipse ?

Related

ConstraintLayout doesn't match with the screen size

I just started my first Android Studio project and I already come with a problem :)
I search on google for the answer but didn't find my problem.
So I need your help please ^^
I download the last version of Android Studio, create a project with an Empty Activity and I came up with this
As you can see my ConstraintLayout is really small and I just can't work with this.
I didn't touch anything on the project. Just to be sure I create 3 projects that have the same issue and redownload 4 time Android Studio.
On the virtual Devices, it looks correct throw: Screenshot
I put the XML code just in case it can help
xmlcode
Hope I was clear and sorry for my English ;)
EDIT: For some reason, the constraint layout fit correctly on the watch screen, but I don't want to create a watch app x) screenshot_watchview
Ok so I have finally find the problem ! I'm so happy right now :D
The problem was the AppTheme theme that I use, I switch it with the DeviceDefault theme. I don't know why this theme was causing problem but now it work and I can finally work on my first Android App !
If you are using the supportLibrary 28+ then this thing happened to me too.
and when I change the support lib version to the 27, it works.
Maybe this is a possible bug in the support library 28+.
Changing the AppTheme works like a charm if you want to stick with the support library 28+ But if you still don't want to so Try using the support library below 28.

How to compile and use FFMPEG library in Android Studio?

i'm newbie in Android Developing. I need use some video library to decompose my video. I have chose FFMPEG, and faced with a question - how integrate ffmpeg to my application and how to use it? I have Android Studio on Windows.
The main problem is this:
FFMPEG is a binary, and there are no nice, user-friendly libraries that mimick it's behaviour out there...
One attempt is this: https://github.com/RkShaRkz/android-ffmpeg (the avatar gives me away)
Another one is this: https://sourceforge.net/projects/ffmpeg4android/files/20121012/
Alot of "solutions" revolve around either
1) launching the FFMPEG binary (process) and piping commands to it.
2) calling into FFMPEG libraries
But noone has yet made a nice FFMPEG-alike SDK library which lets you use everything it offers programatically in Java nor Android.
This was too long for a comment so thats why i posted it as an answer, i hope this doesn't get downvoted to oblivion for not providing a concrete answer/solution to your question.
i resolved it please follow this...
firstly go in File--->New-->Import module--> than Select FFMPEG Folder from your Computer.
after that it will be added in same hierarchy of your Project,
after again go into the File-->Project Structure-->app--> dependencies--> click on plus icon -->select 3).Module Dependencies Now in your list its been shown your Library select it
this solution is working for me
if not solved than please tell me i can help you if possible

Design changes in library project of android studio does not affected

I have integrated a text-chat-sample application in my project.
I want to change the design of the text-chat layout. For this I have to change the design in text-chat library. I have changed it but the application is unaffected.
Are there any steps I need to follow in android studio?
I have checked it and tried to change the design in the library but it didn't take any changes which I have made.
So for solving this issue, I have copied all the required resources like Java class, XML files into my project.
Then I have made UI changes over there and it works perfectly.
Hope this will help you too ;)

How to use new android.support.v8 in eclipse

wonder if someone have faced with this issue:
i'm using android eclipse.
i'm trying to use android.support.v4, android.support.v7 and android.support.v8. but, it seems not to support all of them, together.
My question is that how can i handle my code each time there is new android.support.
thanks for your help.

I can't run Realm project with android studio

Hi every one could you please help me to fix that error:
I use android studio so i found this: https://github.com/realm/realm-java/tree/rw-performance-comparison
So my probleme is : I can't run this project I really tried a lot of time before asking you.
Christian from Realm here.
You are trying to compile an old branch that is not maintained anymore. If you are interested in performance numbers I would encourage you to write your own performance test. Then you would also be able to test the stuff you care about instead of looking at generalised numbers.

Categories

Resources