Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Resolved some lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
afollestad committed Jun 6, 2019
1 parent 9e4ef23 commit 34b94af
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
android:id="@+id/colorArgbPage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:ignore="RtlHardcoded"
>

<!-- Preview -->
Expand Down
1 change: 1 addition & 0 deletions color/src/main/res/layout/md_color_chooser_base_argb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
android:paddingBottom="@dimen/color_grid_padding_bottom"
android:paddingLeft="@dimen/color_grid_item_padding_double"
android:paddingRight="@dimen/color_grid_item_padding_double"
tools:ignore="RtlHardcoded"
>

<!-- Preview -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ class MaterialDialog(
*
* @param res The string resource to display as the message.
* @param text The literal string to display as the message.
* @param html When true, the given string is parsed as HTML and links become clickable.
* @param lineHeightMultiplier The line spacing for the message view, defaulting to 1.0.
*/
fun message(
@StringRes res: Int? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import com.afollestad.materialdialogs.R
import com.afollestad.materialdialogs.internal.button.DialogActionButtonLayout
import com.afollestad.materialdialogs.internal.list.DialogRecyclerView
import com.afollestad.materialdialogs.internal.main.DialogLayout
import com.afollestad.materialdialogs.internal.main.DialogTitleLayout
import com.afollestad.materialdialogs.internal.main.DialogScrollView
import com.afollestad.materialdialogs.message.DialogMessageSettings
import com.afollestad.materialdialogs.utils.MDUtil.maybeSetTextColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import com.afollestad.materialdialogs.utils.MDUtil.resolveString
/** @author Aidan Follestad (@afollestad) */
class DialogMessageSettings internal constructor(
private val dialog: MaterialDialog,
val messageTextView: TextView
private val messageTextView: TextView
) {
private var isHtml: Boolean = false

Expand Down
2 changes: 1 addition & 1 deletion sample/src/main/res/drawable/ic_icon_android.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<path
android:fillColor="?android:textColorPrimary"
android:pathData="M6,18c0,0.55 0.45,1 1,1h1v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5L11,19h2v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5L16,19h1c0.55,0 1,-0.45 1,-1L18,8L6,8v10zM3.5,8C2.67,8 2,8.67 2,9.5v7c0,0.83 0.67,1.5 1.5,1.5S5,17.33 5,16.5v-7C5,8.67 4.33,8 3.5,8zM20.5,8c-0.83,0 -1.5,0.67 -1.5,1.5v7c0,0.83 0.67,1.5 1.5,1.5s1.5,-0.67 1.5,-1.5v-7c0,-0.83 -0.67,-1.5 -1.5,-1.5zM15.53,2.16l1.3,-1.3c0.2,-0.2 0.2,-0.51 0,-0.71 -0.2,-0.2 -0.51,-0.2 -0.71,0l-1.48,1.48C13.85,1.23 12.95,1 12,1c-0.96,0 -1.86,0.23 -2.66,0.63L7.85,0.15c-0.2,-0.2 -0.51,-0.2 -0.71,0 -0.2,0.2 -0.2,0.51 0,0.71l1.31,1.31C6.97,3.26 6,5.01 6,7h12c0,-1.99 -0.97,-3.75 -2.47,-4.84zM10,5L9,5L9,4h1v1zM15,5h-1L14,4h1v1z"
tools:ignore="NewApi"/>
tools:ignore="NewApi,VectorRaster"/>
</vector>

0 comments on commit 34b94af

Please sign in to comment.