diff --git a/lib/android/resource.rb b/lib/android/resource.rb index 8402617..365ec61 100644 --- a/lib/android/resource.rb +++ b/lib/android/resource.rb @@ -123,7 +123,7 @@ def global_string_pool=(pool) # @option opts [String] :contry cantry code like 'jp'... # @raise [ArgumentError] invalid id format # @note - # This method only support string and drawable resource for now. + # This method only support string and drawable/mipmap resource for now. # @note # Always return nil if assign not string type res id. # @@ -135,7 +135,7 @@ def find(res_id, opts={}) case type(tid) when 'string' return find_res_string(key, opts) - when 'drawable' + when 'drawable','mipmap' drawables = [] @types[tid].each do |type| unless type[key].nil?