Giter VIP home page Giter VIP logo

dropdowntextview's People

Contributors

hakobast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dropdowntextview's Issues

Arrow color

Hello,how can i change the arrow color?it is black,i want it to white

Screen Shot 2021-03-12 at 13 17 38

Title max lines

please add a new method "setTitleMaxLines", because when I set a long text in the header, part of the text is hidden.

And in kotlin you don't need findViewById. You can simply use the element id from xml

How to bold the title_text

It seams like there is not option to set title text style? I see that in the example "this is a title" is bold. How should I do that?

Resource linking failed gradle 3.6.2

gradle:
implementation 'com.github.hakobast:dropdown-textview:0.3.1'

layout file:

<hakobastvatsatryan.DropdownTextView
android:id="@+id/first_dropdown_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:title_text="Text"
app:content_text="Text2"
app:arrow_drawable="@drawable/ic_teacher"
app:title_text_color="@color/colorPrimary" />

errors:

Android resource linking failed
AAPT: \app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4155: error: resource attr/title_text (aka com.example.test:attr/title_text) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4156: error: resource attr/content_text (aka com.example.test:attr/content_text) not found.
app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4160: error: resource attr/title_text_color (aka com.example.test:attr/title_text_color) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4161: error: resource attr/title_text_color_expanded (aka com.example.test:attr/title_text_color_expanded) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4165: error: resource attr/content_text_color (aka com.example.test:attr/content_text_color) not found.
\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4166: error: resource attr/link_text_color (aka com.example.test:attr/link_text_color) not found.
error: failed linking references.

String argument for setText

Awesome library, but I have a problem. I'm fetching data from my server, and I want to create the dropdown dynamically, but the method setTitleText and setContentText can only receive an integer id for resource. Can you add methods that receive strings as well?

Couldn't find code for example-1.gif

Hi, I'm trying to replicate the style of Dropdown TextView demonstrated in https://github.com/hakobast/DropdownTextView/blob/master/example-screens/example-1.gif but couldn't find its code in the sample repository.

Could you maybe provide it too?

compile to implementation

Android change compile to implementation
Log: "'compile' is obsolete and has been replaced with 'implementation'"
In the ReadMe file:
Download

Gradle:

compile 'com.github.hakobast:dropdown-textview:0.2'

Need to be change to:
Download

Gradle:

implementation 'com.github.hakobast:dropdown-textview:0.2'

RTL support

its a good library. its support RTL? in in right to left mode the icon should be show in left side

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.