maoruibin / maoruibin/maoruibin.github.com
为 TextView 设置 left icon
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 22
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
// mLeftTextView.setCompoundDrawablesWithIntrinsicBounds(mLeftTextDrawable, 0, 0, 0);
// mLeftTextView.setCompoundDrawablePadding(dip2px((int) mLeftDrawablePaddingSize));
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TextView code containing the commented setCompoundDrawablesWithIntrinsicBounds and setCompoundDrawablePadding calls. Determine the intended drawable and padding context, then verify that the left icon appears correctly on the TextView with the expected spacing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100